geolocator_android
Geolocation plugin for Flutter. This plugin provides the Android implementation for the geolocator.
5.0.3
2.1M downloads/mo
#254 most downloaded on pub.dev
baseflow/flutter-geolocator
What this package is like to depend on
Last release 2 months ago
12 Jun 2026
Release timing varies
gaps range from 8 days to 12 months
Nearly every release is documented
notes for 63 of 63 stable releases
Nothing withdrawn
no release was ever pulled
5 years old
63 releases · first in 2021
1 release in the last 12 months
see the full history below
Release timeline
63 releases · Jul 2021 to Jun 2026Releases
latest 60 of 63-
5.0.312 Jun 2026Release notes
Open source →- Updates
flutter_lintsto version 6.0.0. - Updates Android build tools to version 9.0.1.
- Updates
-
5.0.201 Jul 2025Release notes
Open source →- Fixes PlatformException in example app for Android 14 (API level 34) versions and newer by updating manifest permissions.
- Prevented crash by checking
isSuccessfulbefore callinggetResult()in location settings check.
-
5.0.125 Mar 2025 -
5.0.1+115 Apr 2025 -
5.0.018 Mar 2025Release notes
Open source →- BREAKING CHANGE: for Flutter
3.27.0and below. Make sure you'll upgrade Flutter to3.29.0or above before using this version.
- Fixes deprecation warnings
- BREAKING CHANGE: for Flutter
-
4.6.217 Mar 2025Release notes
Open source →- Updates compileSDKVersion to 35
- Updates Fixed warnings in Android package and Android example project
- Updates gradle version
- Updates com.android.application version to 8.7.0
-
4.6.129 Jul 2024Release notes
Open source →- Fixes a bug where the plugin throws an exception while requesting locations updates with coarse location permission only.
-
4.6.016 May 2024Release notes
Open source →- Adds support to read NMEA messages from other satellites constellations.
- Read the MSL altitude directly from the Android location starting with API 34.
- Always listen to NMEA message to get GPS position fix data.
- Updates
com.google.android.gms:play-services-locationto version21.2.0. - Updates
androidx.core:coreto version1.13.0.
-
4.5.502 May 2024Release notes
Open source →- Fixes a bug where location stream is not automatically started when enabling the location services.
-
4.5.420 Mar 2024Release notes
Open source →- Fixes a bug where the
getPositionStreamwas not informed of the location service resolution result. This resulted in a stream that was kept open indefinitely.
- Fixes a bug where the
-
4.5.319 Mar 2024Release notes
Open source →- Adds the
notificationChannelNamefield to theForegroundNotificationConfigclass, allowing to override the channel name. - Reverts
com.google.android.gms:play-services-locationto version21.0.1. Version21.1.0forces users to update AGP to version 8.0.0 and Kotlin to 1.9.0 which is not inline with stable Flutter version.
- Adds the
-
4.5.3+119 Mar 2024 -
4.5.207 Feb 2024Release notes
Open source →- Fixes a bug where the Android
activityis leaked when theactiviyis detached from the Flutter application.
- Fixes a bug where the Android
-
4.5.130 Jan 2024 -
4.5.022 Jan 2024Release notes
Open source →- Creates
AndroidPosition, a child class ofPositionwith Android specific properties. - Adds the
satelliteCountandsatellitesUsedInFixtoAndroidPosition.
- Creates
-
4.4.115 Jan 2024Release notes
Open source →- Fixes a bug where
getPositionStreamcaused anjava.lang.IllegalStateException: passive location requests must have an explicit minimum update intervalbecauseminUpdateIntervalMillisproperty in location request was set to -1 by default
- Fixes a bug where
-
4.4.031 Oct 2023Release notes
Open source →- Adds
colortoForegroundNotificationConfigto set the color of the notification icon.
- Adds
-
4.3.326 Oct 2023Release notes
Open source →- Removes deprecated support for Android V1 embedding from the JAVA code base. Note that the geolocator's Flutter version restrictions already don't support V1 embedding anymore.
- Registers location services state change broadcast receiver with required exported flags
-
4.3.225 Oct 2023Release notes
Open source →- Updates the following dependencies:
- uuid package from ^3.0.7 to ^4.1.0
- flutter_lints from ^2.0.0 to ^3.0.0
- Updates the following dependencies:
-
4.3.126 Sep 2023Release notes
Open source →- Suppresses a deprecation warning for
LocationListenerCompat.onStatusChangedwhen building for Android.
- Suppresses a deprecation warning for
-
4.3.022 Sep 2023 -
4.2.414 Sep 2023Release notes
Open source →- Fixes a bug where location readings were very inaccurate when using
forceLocationManager: true.
- Fixes a bug where location readings were very inaccurate when using
-
4.2.312 Sep 2023Release notes
Open source →- Fixes a bug where the position stream was unnecessarily filtered when using
forceLocationManager: true.
- Fixes a bug where the position stream was unnecessarily filtered when using
-
4.2.202 Aug 2023Release notes
Open source →- Adds back the
applicationIdproperty of the AndroidManifest.xml file to keep backwardscompatibility with older applications that still rely on Gradle version <7.0.
- Adds back the
-
4.2.131 Jul 2023Release notes
Open source →- Fixes a bug where the
stopForegroundmethod was called with the wrong constant, resulting in a build time error. - Fixes deprecation warnings on Android API 33.
- Fixes a bug where the
-
4.2.005 Jul 2023Release notes
Open source →- Introduces the
setOngoingflag inForegroundNotificationConfigto make notification persistent.
- Introduces the
-
4.1.914 Jun 2023Release notes
Open source →- Resolves an issue where the location service failed to stop properly upon timeout of the location stream.
-
4.1.815 May 2023 -
4.1.726 Jan 2023Release notes
Open source →- Fixes an issue where checking location service availability hangs indefinately.
-
4.1.626 Jan 2023 -
4.1.414 Oct 2022Release notes
Open source →- Fix a bug where the location service would not stop correctly when the location stream is cancelled.
-
4.1.322 Sep 2022 -
4.1.219 Sep 2022Release notes
Open source →- Fix a bug where the location service would stop if we have multiple flutter engines connected and one disconnects
-
4.1.116 Sep 2022Release notes
Open source →- Moves the Android complile arguments to the example
build.gradleso that is not forces the arguments on consumers of the package.
- Moves the Android complile arguments to the example
-
4.1.018 Aug 2022Release notes
Open source →- Adds the ability to report altitude as MSL obtained from NMEA messages when available.
-
4.0.219 Jul 2022 -
4.0.112 Jul 2022 -
4.0.024 Jun 2022Release notes
Open source →IMPORTANT: when updating to version 4.0.0 make sure to also set the
compileSdkVersionin theandroid/app/build.gradlefile to33.- Set android
compileSdkVersionto33(Android 13); - Fixed the deprecation warnings/errors which caused the compilation to fail when using
compileSdkVersion 33. - Make sure the example app compiles against Android SDK 33.
- Set android
-
3.2.119 Jun 2022Release notes
Open source →- Use
java.security.SecureRandominstead ofjava.util.Randomto ensure theActivityRequestidentifier is generated in a cryptographically strong fasion.
- Use
-
3.2.010 Jun 2022Release notes
Open source →- Raises minimum Dart version to 2.17 and Flutter version to 3.0.0.
- Removes deprecated
android.enableR8property from gradle properties. - Updates the example application to request permissions when start listening to the position stream.
-
3.1.805 May 2022Release notes
Open source →- Ensures that when Google mobile services are globally excluded as a dependency to automatically fallback to the Android LocationManager.
-
3.1.705 May 2022 -
3.1.611 Apr 2022Release notes
Open source →- Switches to a package-internal implementation of the platform interface.
-
3.1.508 Apr 2022Release notes
Open source →- Fixes potential cast exceptions when connecting to the location service.
-
3.1.431 Mar 2022Release notes
Open source →- Fixes support for retrieving the position stream in the absence of an Android activity.
-
3.1.308 Mar 2022Release notes
Open source →- Fixes a bug introduced in 3.1.2 where unregistering the status location receiver throws an IllegalArgumentException.
-
3.1.208 Mar 2022Release notes
Open source →- Fixes an issue with the location status service not unregistering the status receiver.
-
3.1.108 Mar 2022Release notes
Open source →- Fixes an issue with the foreground service connection not getting unbound correctly.
-
3.1.013 Feb 2022Release notes
Open source →- Adds support to make a foreground service and continue processing location updates when the application is moved into the background.
-
3.0.407 Feb 2022 -
3.0.322 Jan 2022Release notes
Open source →- Added a default
intervalDurationvalue of 5000ms to prevent thegetCurrentPositionmethod to return a cached Location.
- Added a default
-
3.0.212 Jan 2022Release notes
Open source →- Updated to the latest version of the
geolocator_platform_interface':4.0.0`.
- Updated to the latest version of the
-
3.0.113 Dec 2021 -
3.0.029 Nov 2021Release notes
Open source →- Removed implicit request for permissions when getting a position.
- Added the [AndroidOptions] class to the
libdirectory. - Added the
forceLocationManagerproperty to the [AndroidOptions] instance.
-
3.0.0+129 Nov 2021 -
3.0.0+229 Nov 2021 -
3.0.0+329 Nov 2021 -
3.0.0+429 Nov 2021 -
2.1.008 Oct 2021Release notes
Open source →- Added Approximate Location support for Android 12;
- Added support to request the location accuracy on Android through the
Geolocator.getLocationAccuracy()method; - Make sure the
getServiceStatusStreammethod returns an event when initially the Service Status is enabled on Android Devices (see issue#812.
-
2.0.006 Oct 2021Release notes
Open source →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
compileSdkVersionto31(Android 12); - Fixed the deprecation warnings/errors which caused the
flutter build appbundleto fail when usingcompileSdkVersion 31.
- Set Android