- Fixes repository URL of the package.
- Fixes a bug where listening to the position stream immediately after an error, results in listening to a dead stream.
- Removes
timeIntervalfromLocationSettingsdocumentation.
- Added
extensions.dartto theexportslist.
- Adds the
LocationPermission.unableToDeterminestatus used on the web platform when the permission API is not implemented by the browser.
- breaking Updates the plugin platform interface to use a non
-consttoken. This is marked as a breaking change because it can cause an assertion failure if implementations useimplementsrather thanextends, but hopefully there aren't any of those; - Replaced soft-deprecated
PlatformInterface.verifyTokenmethod withPlatformInterface.verifymethod; - Updated
plugin_platform_interfacedependency.
- Remove unnecessary import statements from several source files;
- Fix "forceAndroidLocationManager" for getLastKnownPosition.
- Removed Android specific
LocationSettings.intervalDurationfield.
- Defines the
LocationSettingsclass which bundles platform specific settings when communicating with the host platform.
- Updated API documentation on
GeolocatorPlatform.getServiceStream()method, describing it is not supported on the web platform.
- Changed the EventChannelMock and the MethodChannelMockd due to breaking changes in the platform channel test interface.
- Update the documentation of the
getCurrentPositionmethod to explain why it can take several seconds to execute.
- Migrated to flutter_lints as linter rule set as it replaces the deprecated effective_dart package.
- Added the possibility to pass your own purposeKey name to the requestTemporaryFullAccuracy method.
- Solves a bug which resulted in an issue when closing the position stream.
- Added the possibility to request temporary Precise Accuracy on iOS 14+ devices.
- Documentation
getLocationAccuracy()method clarified. - Extended the
LocationAccuracyStatusenum with aLocationAccuracyStatus.unknownvalue, which can be used by platforms that don't support location accuracy features.
- Added the possibility to query for the LocationAccuracyStatus on devices running iOS 14.0 and higher.
- Solves a bug which resulted in an issue when closing the position stream and requesting a new one (see issue #703).
- Added the possibility to start a stream which will return an event when Location Services are manually enabled/disabled
- Added definition of the
ActivityMissingException.
- Resolved analyzer error when using mockito (see issue #709).
- Stable release for null safety.
- Merged version 1.0.9 into null safety.
- Migrated to support null safety.
- Updated the README.md to more clearly explain the purpose of the geolocator_platform_interface package.
- Added the optional floor property to the position model and can be used by implementations to specify the floor on which the device is located (see #562).
- Solves a bug causing less accurate location fixes (see #531).
- Solve a bug which adds a zero timeout when no timeout is supplied (see #564).
- Allow developers to call the
getCurrentPositionmethod while already listening to a position stream (see issue #546); - Make sure the position stream is stopped correctly (see issues #485 and #541);
- Android: fix deprecation warning (see issue #556).
- Added more detailed documentation on the
LocationServiceDisableException(see issue #519).
- Add the
isMockedfield to thePositionclass to indicate if the position is retrieved using the Android MockLocationProvider (see issue #498); - Fixed typo in API documentation of LocationPermission (see issue #494)
- Improved LocationPermission documentation (see issue #494).
- Fixed code formatting and homepage URL
- Make sure close streams are dereferenced (solves a bug where closed stream is listened to generating an exception).
- Add support to force using the Android Location Manager instead of the Android FusedLocationProvider.
- Initial open-source release.