geolocator_windows

0.2.5

Geolocation Windows plugin for Flutter. This plugin provides the Windows implementation for the geolocator.

Download archive

Readme

geolocator_windows

pub package Build status style: effective dart

The official Windows implementation of the geolocator plugin by Baseflow.

Usage

Since version 8.1.0 of the geolocator plugin this is the endorsed Windows implementation. This means it will automatically be added to your dependencies when you depend on geolocator: ^8.1.0 in your applications pubspec.yaml.

More detailed instructions on using the API can be found in the README.md of the geolocator package.

Issues

Please file any issues, bugs or feature requests as an issue on our GitHub page. Commercial support is available, you can contact us at hello@baseflow.com.

Want to contribute

If you would like to contribute to the plugin (e.g. by improving the documentation, solving a bug or adding a cool new feature), please carefully review our contribution guide and send us your pull request.

Author

This Geolocator plugin for Flutter is developed by Baseflow.

Changelog

0.2.5

  • Bump flutter_lints to version 5.0.0

0.2.4

  • Updates dart SDk to sdk: ^3.5.0
  • Fixed analyzzer issues example project

0.2.3

  • Fixes crash under Windows when RequestAcess is called while the Geolocation Service is disabled. (#1455)

0.2.2

  • Fixes crash under Windows when getCurrentPosition method is called. (#1240)

0.2.1

  • Exposes altitude accuracy to the Position class.

0.2.0

  • BREAKING CHANGE: Synchronizes the default values of Position.altitude, Position.heading and Position.speed with the other platforms and return 0.0 if the value is not known.
  • Migrates the target_compile_options to use /await:strict to make the options compatible with C++ 20.

0.1.3

  • Adds a PositionStatus::Initializing status consideration since it triggers the state change if "Let apps access your location" toggle option is switched ON from OFF.

0.1.2

  • Adds improved Flutter analysis and resolved warnings.
  • Updates dependencies to current versions.
  • Fixes plugin registration in dart_plugin_registrant.dart.

0.1.1

  • Fixes repository URL of the package.

0.1.0

  • Adds an initial implementation of Windows support for the geolocator plugin.

Installing

export PUB_HOSTED_URL=https://pub.mirror.p-hatan.com
flutter pub add geolocator_windows
pubspec.yaml
name: geolocator_windows
description: Geolocation Windows plugin for Flutter. This plugin provides the Windows implementation for the geolocator.
repository: https://github.com/baseflow/flutter-geolocators
issue_tracker: https://github.com/baseflow/flutter-geolocator/issues?q=is%3Aissue+is%3Aopen
version: 0.2.5

environment:
  sdk: ^3.5.0
  flutter: ">=2.8.0"

flutter:
  plugin:
    implements: geolocator
    platforms:
      windows:
        pluginClass: GeolocatorWindows

dependencies:
  flutter:
    sdk: flutter
  geolocator_platform_interface: ^4.1.0
  
dev_dependencies:
  flutter_test:
    sdk: flutter
  flutter_lints: ">=3.0.1 <5.0.0"
  mockito: ^5.0.17
  plugin_platform_interface: ^2.1.2

Version history

VersionPublishedArchiveSHA-256
0.1.0On demandDownloaddd97c2d8…1e68a5
0.1.1On demandDownloadf5911c88…08354d
0.1.2On demandDownload242a3593…591951
0.1.3On demandDownload4f4218f1…af6bdc
0.2.0On demandDownload46304551…c6583b
0.2.1On demandDownload8725beaa…f65c9c
0.2.2On demandDownloada92fae29…f087af
0.2.3On demandDownload53da0893…f13f0e
0.2.4On demandDownload4862e798…0e2734
0.2.5Cached · Upstream SHA-256 matchedDownload17543540…421eb6

Dependencies

flutter { "sdk": "flutter" }

geolocator_platform_interface "^4.1.0"