NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev · #253 most downloaded on pub.dev
Geolocation plugin for Flutter. This plugin provides the Android implementation for the geolocator.
Last release 6 days ago
02 Oct 2026
Release timing varies
gaps range from 8 days to 12 months
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
5 years old
67 releases · first in 2021
Declare FOREGROUND_SERVICE_LOCATION in the plugin manifest, fix permi…
Declare FOREGROUND_SERVICE_LOCATION in the plugin manifest, fix permi…
FOREGROUND_SERVICE_LOCATION in the plugin's own manifest so it is
merged intothe host app automatically, instead of requiring app developers to
add it by hand.Rollback changes in version 5.1.1
One column per quarter.
FOREGROUND_SERVICE_LOCATION in the
plugin's own manifest. Adding the permission by default results in automatic
rejections by Google when publishing an application that doesn't need nor
support accessing the location services in the background.feat(android): extract vertical speed from FusedLocationProvider extras
Add verticalSpeed and verticalSpeedAccuracy extraction from Android
location extras in LocationMapper, with safe Float/Double casting,
NaN/Infinity rejection, negative accuracy filtering, and multi-key
fallback.
Update AndroidPosition to forward all has*/verticalSpeed fields to
the platform interface Position superclass.
Changes:
Depends on: geolocator_platform_interface v4.4.0 (PR #1799)
fix(android): align vertical speed mapper test and clarify source
fix(android): compile mapper and expose speed availability in example
test(android): verify optional vertical speed mapping on device
verticalSpeed (m/s) and verticalSpeedAccuracy (m/s) from
location extras when a location provider supplies them. This package does not
calculate vertical speed or guarantee that the extras are present or GNSS
Doppler-derived.hasVerticalSpeed, hasVerticalSpeedAccuracy, and presence flags in AndroidPosition.Updates Android Gradle Plugin to 9.3.1
Updates Android Gradle Plugin to 9.3.1
Maintenance, updates dependencies
Maintenance, updates dependencies
flutter_lints to version 6.0.0.Update geolocator_android to version 5.0.2
Update geolocator_android to version 5.0.2
isSuccessful before calling getResult() in location settings check.Bump flutter_lints to version 5.0.0
flutter_lints to version 5.0.0Bump androidx.core:core to version 1.16.0
androidx.core:core to version 1.16.0BREAKING CHANGE: for Flutter 3.27.0 and below. Make sure you'll upgrade Flutter to 3.29.0 or above before using this version.
3.27.0 and below. Make sure you'll upgrade Flutter to 3.29.0 or above before using this version.Updates compileSDKVersion to 35
Fixes a bug where the plugin throws an exception while requesting locations updates with coarse location permission only.
Adds support to read NMEA messages from other satellites constellations.
com.google.android.gms:play-services-location to version 21.2.0.androidx.core:core to version 1.13.0.Fixes a bug where location stream is not automatically started when enabling the location services.
Fixes a bug where the getPositionStream was not informed of the location service resolution result. This resulted in a stream that was kept open indef
getPositionStream was not informed of the location service resolution result. This resulted in a stream that was kept open indefinitely.Adds the notificationChannelName field to the ForegroundNotificationConfig class, allowing to override the channel name.
notificationChannelName field to the ForegroundNotificationConfig class, allowing to override the channel name.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.Reverts androidx.core:core to version 1.9.0.
androidx.core:core to version 1.9.0.Fixes a bug where the Android activity is leaked when the activiy is detached from the Flutter application.
activity is leaked when the activiy is detached from the Flutter application.Fixes a bug where the Position class properties were not set correctly.
Creates AndroidPosition, a child class of Position with Android specific properties.
AndroidPosition, a child class of Position with Android specific properties.satelliteCount and satellitesUsedInFix to AndroidPosition.Fixes a bug where getPositionStream caused an java.lang.IllegalStateException: passive location requests must have an explicit minimum update interval
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 defaultAdds color to ForegroundNotificationConfig to set the color of the notification icon.
color to ForegroundNotificationConfig to set the color of the notification icon.Removes deprecated support for Android V1 embedding from the JAVA code base. Note that the geolocator's Flutter version restrictions already don't sup…
Updates the following dependencies:
Suppresses a deprecation warning for LocationListenerCompat.onStatusChanged when building for Android.
LocationListenerCompat.onStatusChanged when building for Android.Includes altitudeAccuracy and headingAccuracy in Position.
altitudeAccuracy and headingAccuracy in Position.Fixes a bug where location readings were very inaccurate when using forceLocationManager: true.
forceLocationManager: true.Fixes a bug where the position stream was unnecessarily filtered when using forceLocationManager: true.
forceLocationManager: true.Adds back the applicationId property of the AndroidManifest.xml file to keep backwardscompatibility with older applications that still rely on Gradle
applicationId property of the AndroidManifest.xml file to keep backwardscompatibility with older applications that still rely on Gradle version <7.0.Fixes deprecation warnings on Android API 33.
stopForeground method was called with the wrong constant, resulting in a build time error.Introduces the setOngoing flag in ForegroundNotificationConfig to make notification persistent.
setOngoing flag in ForegroundNotificationConfig to make notification persistent.Resolves an issue where the location service failed to stop properly upon timeout of the location stream.
Adds compatibility with Android Gradle Plugin 8.0.
Fixes an issue where checking location service availability hangs indefinately.
Updates Play Services Location library
Fix a bug where the location service would not stop correctly when the location stream is cancelled.
Export AndroidResource class at geolocator_android.at.
AndroidResource class at geolocator_android.at.Fix a bug where the location service would stop if we have multiple flutter engines connected and one disconnects
Moves the Android complile arguments to the example build.gradle so that is not forces the arguments on consumers of the package.
build.gradle so that is not forces the arguments on consumers of
the package.Adds the ability to report altitude as MSL obtained from NMEA messages when available.
Fix nullpointer in MethodCallHandlerImpl.getLocationAccuracy
MethodCallHandlerImpl.getLocationAccuracyMigrates to Dart SDK 2.15.0 and Flutter 2.8.0.
Fixed the deprecation warnings/errors which caused the compilation to fail when using compileSdkVersion 33.
IMPORTANT: when updating to version 4.0.0 make sure to also set the
compileSdkVersionin theandroid/app/build.gradlefile to33.
compileSdkVersion to 33 (Android 13);compileSdkVersion 33.Use java.security.SecureRandom instead of java.util.Random to ensure the ActivityRequest identifier is generated in a cryptographically strong fasion.
java.security.SecureRandom instead of java.util.Random to ensure the
ActivityRequest identifier is generated in a cryptographically strong fasion.Removes deprecated android.enableR8 property from gradle properties.
android.enableR8 property from gradle properties.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 the getCurrentPosition method to return a cached Location.
intervalDuration value of 5000ms to prevent the getCurrentPosition method to return a cached
Location.Updated to the latest version of the geolocator_platform_interface': 4.0.0`.
geolocator_platform_interface': 4.0.0`.Replace usage of unofficial GMS library
Removed implicit request for permissions when getting a position.
lib directory.forceLocationManager property to the [AndroidOptions] instance.Adds intervalDuration to the AndroidSettings class.
intervalDuration to the AndroidSettings class.Fixes NPE when accessing the position stream.
Your coding agent can read these notes before it upgrades. Set up the MCP server →