PackageTrack
Sign in Get early access

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 2026
2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 60 of 63
  1. 5.0.3 12 Jun 2026
    Release notes

    Maintenance, updates dependencies

    Open source →
    Release notes
    • Updates flutter_lints to version 6.0.0.
    • Updates Android build tools to version 9.0.1.
    Open source →
  2. 5.0.2 01 Jul 2025
    Release notes

    Update geolocator_android to version 5.0.2

    Open source →
    Release notes
    • Fixes PlatformException in example app for Android 14 (API level 34) versions and newer by updating manifest permissions.
    • Prevented crash by checking isSuccessful before calling getResult() in location settings check.
    Open source →
  3. 5.0.1 25 Mar 2025
    Release notes
    • Bump flutter_lints to version 5.0.0
    Open source →
  4. 5.0.1+1 15 Apr 2025
    Release notes
    • Bump androidx.core:core to version 1.16.0
    Open source →
  5. 5.0.0 18 Mar 2025
    Release notes
    • BREAKING CHANGE: for Flutter 3.27.0 and below. Make sure you'll upgrade Flutter to 3.29.0 or above before using this version.
    • Fixes deprecation warnings
    Open source →
  6. 4.6.2 17 Mar 2025
    Release notes
    • 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
    Open source →
  7. 4.6.1 29 Jul 2024
    Release notes
    • Fixes a bug where the plugin throws an exception while requesting locations updates with coarse location permission only.
    Open source →
  8. 4.6.0 16 May 2024
    Release notes
    • 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-location to version 21.2.0.
    • Updates androidx.core:core to version 1.13.0.
    Open source →
  9. 4.5.5 02 May 2024
    Release notes
    • Fixes a bug where location stream is not automatically started when enabling the location services.
    Open source →
  10. 4.5.4 20 Mar 2024
    Release notes
    • Fixes a bug where the getPositionStream was not informed of the location service resolution result. This resulted in a stream that was kept open indefinitely.
    Open source →
  11. 4.5.3 19 Mar 2024
    Release notes
    • Adds the notificationChannelName field to the ForegroundNotificationConfig class, allowing to override the channel name.
    • Reverts com.google.android.gms:play-services-location to version 21.0.1. Version 21.1.0 forces users to update AGP to version 8.0.0 and Kotlin to 1.9.0 which is not inline with stable Flutter version.
    Open source →
  12. 4.5.3+1 19 Mar 2024
    Release notes
    • Reverts androidx.core:core to version 1.9.0.
    Open source →
  13. 4.5.2 07 Feb 2024
    Release notes
    • Fixes a bug where the Android activity is leaked when the activiy is detached from the Flutter application.
    Open source →
  14. 4.5.1 30 Jan 2024
    Release notes
    • Fixes a bug where the Position class properties were not set correctly.
    Open source →
  15. 4.5.0 22 Jan 2024
    Release notes
    • Creates AndroidPosition, a child class of Position with Android specific properties.
    • Adds the satelliteCount and satellitesUsedInFix to AndroidPosition.
    Open source →
  16. 4.4.1 15 Jan 2024
    Release notes
    • Fixes a bug where getPositionStream caused an java.lang.IllegalStateException: passive location requests must have an explicit minimum update interval because minUpdateIntervalMillis property in location request was set to -1 by default
    Open source →
  17. 4.4.0 31 Oct 2023
    Release notes
    • Adds color to ForegroundNotificationConfig to set the color of the notification icon.
    Open source →
  18. 4.3.3 26 Oct 2023
    Release notes
    • 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
    Open source →
  19. 4.3.2 25 Oct 2023
    Release notes
    • Updates the following dependencies:
      • uuid package from ^3.0.7 to ^4.1.0
      • flutter_lints from ^2.0.0 to ^3.0.0
    Open source →
  20. 4.3.1 26 Sep 2023
    Release notes
    • Suppresses a deprecation warning for LocationListenerCompat.onStatusChanged when building for Android.
    Open source →
  21. 4.3.0 22 Sep 2023
    Release notes
    • Includes altitudeAccuracy and headingAccuracy in Position.
    Open source →
  22. 4.2.4 14 Sep 2023
    Release notes
    • Fixes a bug where location readings were very inaccurate when using forceLocationManager: true.
    Open source →
  23. 4.2.3 12 Sep 2023
    Release notes
    • Fixes a bug where the position stream was unnecessarily filtered when using forceLocationManager: true.
    Open source →
  24. 4.2.2 02 Aug 2023
    Release notes
    • Adds back the applicationId property of the AndroidManifest.xml file to keep backwardscompatibility with older applications that still rely on Gradle version <7.0.
    Open source →
  25. 4.2.1 31 Jul 2023
    Release notes
    • Fixes a bug where the stopForeground method was called with the wrong constant, resulting in a build time error.
    • Fixes deprecation warnings on Android API 33.
    Open source →
  26. 4.2.0 05 Jul 2023
    Release notes
    • Introduces the setOngoing flag in ForegroundNotificationConfig to make notification persistent.
    Open source →
  27. 4.1.9 14 Jun 2023
    Release notes
    • Resolves an issue where the location service failed to stop properly upon timeout of the location stream.
    Open source →
  28. 4.1.8 15 May 2023
    Release notes
    • Adds compatibility with Android Gradle Plugin 8.0.
    Open source →
  29. 4.1.7 26 Jan 2023
    Release notes
    • Fixes an issue where checking location service availability hangs indefinately.
    Open source →
  30. 4.1.6 26 Jan 2023
    Release notes
    • Updates Play Services Location library
    Open source →
  31. 4.1.4 14 Oct 2022
    Release notes
    • Fix a bug where the location service would not stop correctly when the location stream is cancelled.
    Open source →
  32. 4.1.3 22 Sep 2022
    Release notes
    • Export AndroidResource class at geolocator_android.at.
    Open source →
  33. 4.1.2 19 Sep 2022
    Release notes
    • Fix a bug where the location service would stop if we have multiple flutter engines connected and one disconnects
    Open source →
  34. 4.1.1 16 Sep 2022
    Release notes
    • Moves the Android complile arguments to the example build.gradle so that is not forces the arguments on consumers of the package.
    Open source →
  35. 4.1.0 18 Aug 2022
    Release notes
    • Adds the ability to report altitude as MSL obtained from NMEA messages when available.
    Open source →
  36. 4.0.2 19 Jul 2022
    Release notes
    • Fix nullpointer in MethodCallHandlerImpl.getLocationAccuracy
    Open source →
  37. 4.0.1 12 Jul 2022
    Release notes
    • Migrates to Dart SDK 2.15.0 and Flutter 2.8.0.
    Open source →
  38. 4.0.0 24 Jun 2022
    Release notes

    IMPORTANT: when updating to version 4.0.0 make sure to also set the compileSdkVersion in the android/app/build.gradle file to 33.

    • Set android compileSdkVersion to 33 (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.
    Open source →
  39. 3.2.1 19 Jun 2022
    Release notes
    • Use java.security.SecureRandom instead of java.util.Random to ensure the ActivityRequest identifier is generated in a cryptographically strong fasion.
    Open source →
  40. 3.2.0 10 Jun 2022
    Release notes
    • Raises minimum Dart version to 2.17 and Flutter version to 3.0.0.
    • Removes deprecated android.enableR8 property from gradle properties.
    • Updates the example application to request permissions when start listening to the position stream.
    Open source →
  41. 3.1.8 05 May 2022
    Release notes
    • Ensures that when Google mobile services are globally excluded as a dependency to automatically fallback to the Android LocationManager.
    Open source →
  42. 3.1.7 05 May 2022
    Release notes
    • Fixes repository URL of the package.
    Open source →
  43. 3.1.6 11 Apr 2022
    Release notes
    • Switches to a package-internal implementation of the platform interface.
    Open source →
  44. 3.1.5 08 Apr 2022
    Release notes
    • Fixes potential cast exceptions when connecting to the location service.
    Open source →
  45. 3.1.4 31 Mar 2022
    Release notes
    • Fixes support for retrieving the position stream in the absence of an Android activity.
    Open source →
  46. 3.1.3 08 Mar 2022
    Release notes
    • Fixes a bug introduced in 3.1.2 where unregistering the status location receiver throws an IllegalArgumentException.
    Open source →
  47. 3.1.2 08 Mar 2022
    Release notes
    • Fixes an issue with the location status service not unregistering the status receiver.
    Open source →
  48. 3.1.1 08 Mar 2022
    Release notes
    • Fixes an issue with the foreground service connection not getting unbound correctly.
    Open source →
  49. 3.1.0 13 Feb 2022
    Release notes
    • Adds support to make a foreground service and continue processing location updates when the application is moved into the background.
    Open source →
  50. 3.0.4 07 Feb 2022
    Release notes
    • Fixes Android embedding v2 warning when compiling the example App.
    Open source →
  51. 3.0.3 22 Jan 2022
    Release notes
    • Added a default intervalDuration value of 5000ms to prevent the getCurrentPosition method to return a cached Location.
    Open source →
  52. 3.0.2 12 Jan 2022
    Release notes
    • Updated to the latest version of the geolocator_platform_interface': 4.0.0`.
    Open source →
  53. 3.0.1 13 Dec 2021
    Release notes
    • Replace usage of unofficial GMS library
    Open source →
  54. 3.0.0 29 Nov 2021
    Release notes
    • 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.
    Open source →
  55. 3.0.0+1 29 Nov 2021
    Release notes
    • Adds intervalDuration to the AndroidSettings class.
    Open source →
  56. 3.0.0+2 29 Nov 2021
    Release notes
    • Fixes NPE when accessing the position stream.
    Open source →
  57. 3.0.0+3 29 Nov 2021
    Release notes
    • Fixes cast exception when converting Integer to Long.
    Open source →
  58. 3.0.0+4 29 Nov 2021
    Release notes
    • Resolve merge conflict.
    Open source →
  59. 2.1.0 08 Oct 2021
    Release notes
    • 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.
    Open source →
  60. 2.0.0 06 Oct 2021
    Release notes

    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 to 31 (Android 12);
    • Fixed the deprecation warnings/errors which caused the flutter build appbundle to fail when using compileSdkVersion 31.
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive