PackageTrack
Sign in Get early access

geolocator_platform_interface

A common platform interface for the geolocator plugin.

4.3.0 2.2M downloads/mo #249 most downloaded on pub.dev baseflow/flutter-geolocator

What this package is like to depend on

Last release 3 days ago

21 Aug 2026

Release timing varies

gaps range from 9 days to 1.2 years

Nearly every release is documented

notes for 49 of 50 stable releases

Nothing withdrawn

no release was ever pulled

6 years old

52 releases · first in 2020

3 releases in the last 12 months

see the full history below

Release timeline

52 releases · Aug 2020 to Aug 2026
2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 52
  1. 4.3.0 21 Aug 2026
    Release notes

    feat(platform-interface): distinguish an unmeasured value from a meas…

    Open source →
    Release notes
    • Adds hasAccuracy, hasAltitude, hasAltitudeAccuracy, hasHeading, hasHeadingAccuracy, hasSpeed and hasSpeedAccuracy to Position, so a value the platform could not measure is distinguishable from the same value measured as 0.0. The Android platform channel already omits a key when its Location.hasX() predicate is false; Position.fromMap substituted 0.0 for the missing value, and the distinction was lost. The reported numeric values are unchanged and every field defaults to false, so existing code is unaffected. Resolves #1733 and #1525.
    Open source →
  2. 4.2.8 12 Jun 2026
    Release notes

    Maintenance, updates dependencies

    Open source →
    Release notes
    • Updates dependencies to their latest versions.
    • Fixes an analysis warning indicating a missing type declaration.
    Open source →
  3. 4.2.7 08 Jun 2026
    Release notes
    • Clarifies the documentation of Position.heading to explain that it carries the course over ground (direction of travel, from Location.getBearing() on Android and CLLocation.course on iOS), which is distinct from compass heading. The field keeps the heading name for backward compatibility. Resolves #1187.
    Open source →
  4. 4.2.6 20 Mar 2025
    Release notes
    • Updates documentation isMocked to bring it in line with the functionality. isMocked for iOS 15 and higher depends on the result from isSimulatedBySoftware.
    Open source →
  5. 4.2.5 17 Mar 2025
    Release notes
    • Updates dart sdk to >3.5.0
    Open source →
  6. 4.2.4 18 Jun 2024
    Release notes
    • Correctly handle integer-like numbers when decoding Position from JSON.
    Open source →
  7. 4.2.3 16 May 2024
    Release notes
    • Fixes several grammar mistakes in the API documentation.
    Open source →
  8. 4.2.2 15 Feb 2024
    Release notes
    • Updates the documentation of the getServiceStatusStream method as it nolonger throws a UnimplementedError on web.
    Open source →
  9. 4.2.1 31 Jan 2024
    Release notes
    • Ensures that timestamp is set to current date and time if platform implementations return a null value.
    Open source →
  10. 4.2.0 06 Nov 2023
    Release notes
    • Replaces an optional DateTime? timestamp in Position object for an NonNull DateTime timestamp.
    Open source →
  11. 4.1.1 02 Oct 2023
    Release notes
    • Updates dependencies to latest versions to prevent conflicts with other packages.
    Open source →
  12. 4.1.0 22 Sep 2023
    Release notes
    • Includes altitudeAccuracy and headingAccuracy in Position.
    Open source →
  13. 4.0.8 06 Sep 2023
    Release notes
    • Updates documentation for getCurrentPosition() and LocationAccuracy, to clarify the behavior of location accuracy on Android devices.
    Open source →
  14. 4.0.7 14 Oct 2022
    Release notes
    • Fixed a spelling error in docs.
    Open source →
  15. 4.0.6 12 Jul 2022
    Release notes
    • Migrates to Dart SDK 2.15.0 and Flutter 2.8.0.
    Open source →
  16. 4.0.5 05 May 2022
    Release notes
    • Fixes repository URL of the package.
    Open source →
  17. 4.0.4 08 Mar 2022
    Release notes
    • Fixes a bug where listening to the position stream immediately after an error, results in listening to a dead stream.
    Open source →
  18. 4.0.3 11 Feb 2022
    Release notes
    • Removes timeInterval from LocationSettings documentation.
    Open source →
  19. 4.0.2 04 Feb 2022
    Release notes
    • Added extensions.dart to the exports list.
    Open source →
  20. 4.0.1 12 Jan 2022
    Release notes
    • Adds the LocationPermission.unableToDetermine status used on the web platform when the permission API is not implemented by the browser.
    Open source →
  21. 4.0.0 12 Jan 2022
    Release notes
    • breaking Updates the plugin platform interface to use a non-const token. This is marked as a breaking change because it can cause an assertion failure if implementations use implements rather than extends, but hopefully there aren't any of those;
    • Replaced soft-deprecated PlatformInterface.verifyToken method with PlatformInterface.verify method;
    • Updated plugin_platform_interface dependency.
    Open source →
  22. 3.0.1 13 Dec 2021
    Release notes
    • Remove unnecessary import statements from several source files;
    • Fix "forceAndroidLocationManager" for getLastKnownPosition.
    Open source →
  23. 3.0.0 29 Nov 2021
    Release notes
    • Defines the LocationSettings class which bundles platform specific settings when communicating with the host platform.
    Open source →
  24. 3.0.0+1 29 Nov 2021
    Release notes
    • Removed Android specific LocationSettings.intervalDuration field.
    Open source →
  25. 2.3.6 29 Sep 2021
    Release notes
    • Updated API documentation on GeolocatorPlatform.getServiceStream() method, describing it is not supported on the web platform.
    Open source →
  26. 2.3.5 20 Sep 2021
    Release notes
    • Changed the EventChannelMock and the MethodChannelMockd due to breaking changes in the platform channel test interface.
    Open source →
  27. 2.3.4 30 Aug 2021
    Release notes
    • Update the documentation of the getCurrentPosition method to explain why it can take several seconds to execute.
    Open source →
  28. 2.3.2 14 Jul 2021
    Release notes
    • Added the possibility to pass your own purposeKey name to the requestTemporaryFullAccuracy method.
    Open source →
  29. 2.3.1 09 Jul 2021
    Release notes
    • Solves a bug which resulted in an issue when closing the position stream.
    Open source →
  30. 2.3.0 05 Jul 2021
    Release notes
    • Added the possibility to request temporary Precise Accuracy on iOS 14+ devices.
    Open source →
  31. 2.2.1 05 Jul 2021
    Release notes
    • Documentation getLocationAccuracy() method clarified.
    • Extended the LocationAccuracyStatus enum with a LocationAccuracyStatus.unknown value, which can be used by platforms that don't support location accuracy features.
    Open source →
  32. 2.2.0 22 Jun 2021
    Release notes
    • Added the possibility to query for the LocationAccuracyStatus on devices running iOS 14.0 and higher.
    Open source →
  33. 2.1.1 11 Jun 2021
    Release notes
    • Solves a bug which resulted in an issue when closing the position stream and requesting a new one (see issue #703).
    Open source →
  34. 2.1.0 03 Jun 2021
    Release notes
    • Added the possibility to start a stream which will return an event when Location Services are manually enabled/disabled
    Open source →
  35. 2.0.2 14 Apr 2021
    Release notes
    • Added definition of the ActivityMissingException.
    Open source →
  36. 2.0.1 12 Apr 2021
    Release notes
    • Resolved analyzer error when using mockito (see issue #709).
    Open source →
  37. 2.0.0 22 Feb 2021
    Release notes
    • Stable release for null safety.
    Open source →
  38. 2.0.0-nullsafety.1 10 Feb 2021 pre-release
    Release notes
    • Merged version 1.0.9 into null safety.
    Open source →
  39. 2.0.0-nullsafety.0 23 Nov 2020 pre-release
    Release notes
    • Migrated to support null safety.
    Open source →
  40. 1.0.9 01 Feb 2021
    Release notes
    • Updated the README.md to more clearly explain the purpose of the geolocator_platform_interface package.
    Open source →
  41. 1.0.8 03 Nov 2020
    Release notes
    • 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).
    Open source →
  42. 1.0.7 30 Oct 2020
    Release notes
    • Solves a bug causing less accurate location fixes (see #531).
    Open source →
  43. 1.0.6 29 Oct 2020
    Release notes
    • Allow developers to call the getCurrentPosition method 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).
    Open source →
  44. 1.0.6+1 30 Oct 2020
    Release notes
    • Solve a bug which adds a zero timeout when no timeout is supplied (see #564).
    Open source →
  45. 1.0.5 19 Oct 2020
    Release notes
    • Added more detailed documentation on the LocationServiceDisableException (see issue #519).
    Open source →
  46. 1.0.4 03 Sep 2020
    Release notes
    • Add the isMocked field to the Position class to indicate if the position is retrieved using the Android MockLocationProvider (see issue #498);
    • Fixed typo in API documentation of LocationPermission (see issue #494)
    Open source →
  47. 1.0.3 27 Aug 2020
    Release notes
    • Fixed code formatting and homepage URL
    Open source →
  48. 1.0.3+1 31 Aug 2020
    Release notes
    • Improved LocationPermission documentation (see issue #494).
    Open source →
  49. 1.0.2 27 Aug 2020
    Release notes
    • Make sure close streams are dereferenced (solves a bug where closed stream is listened to generating an exception).
    Open source →
  50. 1.0.1 23 Aug 2020
    Release notes
    • Add support to force using the Android Location Manager instead of the Android FusedLocationProvider.
    Open source →
  51. 1.0.0 22 Aug 2020
    Release notes
    • Initial open-source release.
    Open source →
  52. 1.0.0+1 22 Aug 2020

    Nothing published for this version

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