geolocator 1.2.1 geolocator: ^1.2.1 copied to clipboard
Geolocation plugin for Flutter. This plugin provides a cross-platform (iOS, Android) API for generic location (GPS etc.) functions.
[1.2.1] #
- Added feature to throttle the amount of locations updates based on a supplied distance filter.
Important:
This introduces a breaking change since the signature of the
getPositionStream
has changed fromgetPositionStream(LocationAccuracy accuracy)
togetPositionStream(LocationOptions locationOptions)
.
- Made some small changes to ensure the plugin no longer is depending on JAVA 8, meaning the plugin will run using the default Android configuration.
[1.2.0] #
- Added support to translate an address into geocoordinates and vice versa (a.k.a. Geocoding). See the README.md file for more information.
[1.1.2] #
- Fixed reported formatting issues
[1.1.1] #
- Fixed a warning generated by xCode when compiling the example project (see issue #28)
- Fixed some warnings generated by Dart static code analyser, improving code quality
[1.1.0] #
- Introduced the option to supply a desired accuracy.
Important:
This introduces a breaking change, the
getPosition
andonPositionChanged
properties have been replaced by methods (getPosition([LocationAccuracy desiredAccuracy = LocationAccuracy.Best])
andgetPositionStream([LocationAccuracy desiredAccuracy = LocationAccuracy.Best])
respectively) accepting a parameter to indicate the desired accuracy.
- Updated the Android part to make use of the LocationManager instead of the FusedLocationProviderClient
- Improved support for handling position requests that happen in rapid succession.
[1.0.0] #
- Updated documentation
- API defined stable
[0.0.2] #
- Solved problem with missing geolocator-Swift.h header file (see also issue Flutter#16049).
[0.0.1] #
- Initial release