geolocator_web
v4.1.4Official web implementation of the geolocator plugin.
Архив пакета: https://pubdev.letsnova.ru/api/archives/geolocator_web/4.1.4.tar.gz
dart pub add geolocator_webREADME
geolocator_web
The official web implementation of the geolocator plugin by Baseflow.
Usage
Since version 6.2.0 of the geolocator plugin this is the endorsed web implementation. This means it will automatically be added to your dependencies when you depend on geolocator: ^6.2.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.
Tests
Tests require being run on a browser due to the use of the dart:js_interop package:
flutter test --platform chrome
Author
This Geolocator plugin for Flutter is developed by Baseflow.
История изменений
4.1.4
- Updates
flutter_lintsdependency to 6.0.0.
4.1.3
- Bump
flutter_lintsto version 5.0.0
4.1.2
- Updates dart SDK to
sdk: ^3.5.0 - Fixes analyzer issues
4.1.1
- Exposes the
WebSettingsclass as a public type.
4.1.0
- Adds WebSettings class, allowing a location maximumAge to be specified.
- Supports maximumAge parameter in
getCurrentPositionandwatchPositionmethods.
4.0.1
- Upgrades the package:web dependency to version 1.0.0.
- Upgrades Dart SDK from 3.3.0 to 3.4.0 for geolocator_web.
4.0.0
BREAKING CHANGE:
- Migrates from dart:html to package:web and dart:js_interop
- Migrates to Dart SDK 3.3.0 and Flutter 3.16.0.
3.0.0
BREAKING CHANGE:
getServiceStatusStreamon web returns a PlatformException i.s.o. UnimplementedError. As the concept of location service doesn't exist on the web platform.
2.2.1
- Migrates tests to support sound null safety.
2.2.0
- Exposes altitude accuracy field in
Positionobject.
2.1.7
- Mark
geolocator_webas implementation ofgeolocator
2.1.6
- Migrates to Dart SDK 2.15.0 and Flutter 2.8.0.
2.1.5
- Fixes repository URL of the package.
2.1.4
- Adds support for the
LocationPermission.unableToDeterminestatus which is reported by theGeolocator.checkPermission()method when a browser (like Safari) doesn't support the permission API.
2.1.3
- Updated to the latest version of the
geolocator_platform_interface':4.0.0`.
2.1.2
- Fixes a bug where the
getCurrentPositionandgetPositionStreammethods return a timeout exception when no timeout interval is specified.
2.1.1
- Upgrade the
geolocator_platform_interfacedependency to version 3.0.1.
2.1.0
- Made changes to the implementation of the
getCurrentPositionandgetPositionStreammethod to match new platform interface. - Fixes issues where geolocator doesn't work on Safari due to missing implementation of
querymethod in the browser.
2.0.6
- Fixes a bug where the
LocationAccuracy.reducedaccuracy value is treated as high accuracy on web.
2.0.5
- Ensure the
requestPermissionmethod correctly awaits the users input and not return prematurely (see issue #783).
2.0.4
- Added an example App to demonstrate how to directly use the geolocator_web package in a Flutter application.
2.0.3
- Implement missing
isLocationServiceEnabledfor web implementation (see issue #694).
2.0.2
- Solve bug receiving same location from stream when using
distantFilter(see issue #674).
2.0.1
- Solve bug causing error when requesting permissions (see issue #673).
2.0.0
- Stable release for null safety.
1.0.1
- Solve bug causing error when requesting permissions (see issue #673).
1.0.0
- Initial release of the geolocator web implementation.
