- Ensures that when Google mobile services are globally excluded as a dependency to automatically fallback to the Android LocationManager.
- Fixes repository URL of the package.
- Switches to a package-internal implementation of the platform interface.
- Fixes potential cast exceptions when connecting to the location service.
- Fixes support for retrieving the position stream in the absence of an Android activity.
- Fixes a bug introduced in 3.1.2 where unregistering the status location receiver throws an IllegalArgumentException.
- Fixes an issue with the location status service not unregistering the status receiver.
- Fixes an issue with the foreground service connection not getting unbound correctly.
- Adds support to make a foreground service and continue processing location updates when the application is moved into the background.
- Fixes Android embedding v2 warning when compiling the example App.
- Added a default
intervalDuration
value of 5000ms to prevent thegetCurrentPosition
method to return a cached Location.
- Updated to the latest version of the
geolocator_platform_interface':
4.0.0`.
- Replace usage of unofficial GMS library
- Resolve merge conflict.
- Fixes cast exception when converting Integer to Long.
- Fixes NPE when accessing the position stream.
- Adds
intervalDuration
to theAndroidSettings
class.
- Removed implicit request for permissions when getting a position.
- Added the [AndroidOptions] class to the
lib
directory. - Added the
forceLocationManager
property to the [AndroidOptions] instance.
- Added Approximate Location support for Android 12;
- Added support to request the location accuracy on Android through the
Geolocator.getLocationAccuracy()
method; - Make sure the
getServiceStatusStream
method returns an event when initially the Service Status is enabled on Android Devices (see issue#812.
IMPORTANT: when updating to version 2.0.0 make sure to also set the compileSdkVersion in the app/build.gradle file to 31.
- Set Android
compileSdkVersion
to31
(Android 12); - Fixed the deprecation warnings/errors which caused the
flutter build appbundle
to fail when usingcompileSdkVersion 31
.
- Fixed didChangeAppLifecycleState goes into a loop after location request (see issue: Baseflow#816).
- Migrate to mavenCentral as jFrog has sunset jCenter (see official announcement for more details);
- Upgrade to Gradle 4.1.0 to stay in sync with current stable version of Flutter.
- Initial open source release.