PackageTrack
Sign in Get early access

location_web

The web implementation of the location plugin.

7.0.0 210K downloads/mo #831 most downloaded on pub.dev Lyokone/flutterlocation

What this package is like to depend on

Last release 1 months ago

18 Jul 2026

Release timing varies

gaps range from 2 weeks to 13 months

Nearly every release is documented

notes for 19 of 19 stable releases

Nothing withdrawn

no release was ever pulled

6 years old

24 releases · first in 2020

1 release in the last 12 months

see the full history below

Release timeline

24 releases · Mar 2020 to Jul 2026
2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 24
  1. 7.0.0 18 Jul 2026
    Release notes Open source →
    Release notes

    💥 Breaking changes

    • Depends on location_platform_interface: ^7.0.0, whose LocationData.latitude and LocationData.longitude are now non-nullable (#675). This package's own location map always populated both, so no code here changed to accommodate it.

    Fixed

    • hasPermission() throwing (Failed to read the 'name' property from 'PermissionDescriptor') instead of returning a permission status. The Permissions API was handed an opaque boxed Dart object instead of a real JS object literal; it now receives a proper { name: 'geolocation' } descriptor (#978, #987).
    • getLocation()/onLocationChanged errors not being catchable as PlatformException like they are on Android/iOS; browser Geolocation errors are now mapped to a PlatformException with a PERMISSION_DENIED/POSITION_UNAVAILABLE/TIMEOUT code (#967).
    • requestPermission() reporting deniedForever for a location-fetch failure unrelated to permission (e.g. a GPS timeout after the user already allowed access) (#891).
    • hasPermission() crashing in browsers/webviews that support Geolocation but not the Permissions API (navigator.permissions undefined); it now reports "not yet determined" instead (#959).
    Open source →
    Release notes
    • Bump minimum Dart version to 3.4, minimum Flutter version to 3.22

    • Bump dependencies

    Open source →
  2. 6.0.1 28 Jun 2025
    Release notes Open source →
    Release notes
    • Configure pausesLocationUpdatesAutomatically on iOS. Should fix (#933)
    Open source →
    Release notes
    • Downgraded location_web dependency on js ^0.7.1 to js ^0.6.3 for compatibility with firebase_core ^2.27.2 (#942)
    Open source →
  3. 6.0.0 23 Jan 2025
    Release notes
    • Bump minimum Dart version to 3.6, minimum Flutter version to 3.27 (#952)
    • Bump dependency on package: web to ^1.1.0
    Open source →
    Release notes
    • Bump Android Gradle Plugin from 7.4.2 to 8.3.1

    • Bump minimum supported Android SDK to 21

    • Bump minimum Dart version to 3.1, minimum Flutter version to 3.16

    • Bump dependencies

    Open source →
  4. 5.0.4 13 Oct 2024
    Release notes
    • Bump dependency on package: web to ^1.0.0
    Open source →
  5. 5.0.3 28 Jun 2024
    Release notes
    • Bump dependency on location_platform_interface to ^5.0.0
    Open source →
    Release notes
    • Lower minimum iOS deployment target from 13 to 11 (#882 by Matias de Andrea)
    Open source →
  6. 5.0.2 28 Jun 2024
    Release notes
    • Remove dependency on dart:html in favor of package:web to allow complation to WASM (#956)
    Open source →
  7. 5.0.1 02 Apr 2024
    Release notes
    • Downgraded dependency on js ^0.7.1 to js ^0.6.3 for compatibility with firebase_core ^2.27.2 (#942)
    Open source →
    Release notes
    • Refactoring (#853)

    • Set up code formatting & linting on CI, and fix all warnings that arose

    • Bump dependency on location_platform_interface to ^3.1.0

    • Bump dependency on location_web to ^4.1.0

    • Bump minimum Flutter to 3.3

    Open source →
  8. 5.0.0 30 Mar 2024
    Release notes
    • Bump minimum Dart version to 3.1, minimum Flutter version to 3.16
    • Bump dependencies
    Open source →
    Release notes
    • Fix build errors on Android (#847)

    • Bump minimum Flutter to 3.0 (#847)

    Open source →
  9. 5.0.0-dev.3 24 Jun 2022 pre-release

    Nothing published for this version

  10. 5.0.0-dev.2 11 Jun 2022 pre-release

    Nothing published for this version

  11. 5.0.0-dev.1 11 Jun 2022 pre-release

    Nothing published for this version

  12. 5.0.0-dev.0 10 Jun 2022 pre-release

    Nothing published for this version

  13. 4.2.0 11 Aug 2023
    Release notes
    • Add accuracy to location data, if available (#876 by Tyler Jewell)
    Open source →
    Release notes
    • REFACTOR : remove Android strings.

    • REFACTOR : extract background notification logic to separate class.

    • FIX : wait 2 location updates to make sure that the last knwown position isn't returned instantly #549.

    • FIX : fix the depreciation warning on android #550.

    • FIX : improve changeSettings to be applied immediatly.

    • FEAT : add several information to resolve #552.

    • FEAT : add several information to resolve #552.

    • FEAT : better listen example to prevent infinite location request.

    • FEAT : fix typos.

    • FEAT : add ios requirements.

    • FEAT : improve example app.

    • FEAT : separate result variables to prevent result override.

    • FEAT : add isMock information on LocationData.

    • FEAT : add fallback for LocationAccuracy.reduced on Android.

    • FEAT : add option to reopen app from notification.

    • FEAT : allow for customizing Android notification text, subtext and color.

    • FEAT : update example app to showcase Android notification options.

    • FEAT : allow for customizing Android background notification from dart.

    • FEAT : handle notification changes in Android MethodCallHandler.

    • FEAT : return notification and channel id when changing options.

    • DOCS : update readme web.

    • CHORE : publish packages.

    • CHORE : publish packages.

    • CHORE : publish packages.

    • CHORE : publish packages.

    • CHORE : publish packages.

    Open source →
  14. 4.1.1 04 Aug 2023
    Release notes
    • Bump dependency on location_platform_interface to ^3.1.1
    Open source →
    Release notes
    • FIX : fix crash on build.
    Open source →
  15. 4.1.0 23 Jul 2023
    Release notes
    • Refactoring (#853)
      • Set up code formatting & linting on CI
      • Remove unused dependency on package:meta
      • Bump dependency on location_platform_interface to ^3.1.0
      • Bump minimum Flutter to 3.3
    Open source →
    Release notes
    • REFACTOR : remove Android strings.

    • REFACTOR : extract background notification logic to separate class.

    • FEAT : add option to reopen app from notification.

    • FEAT : allow for customizing Android notification text, subtext and color.

    • FEAT : update example app to showcase Android notification options.

    • FEAT : allow for customizing Android background notification from dart.

    • FEAT : handle notification changes in Android MethodCallHandler.

    • FEAT : return notification and channel id when changing options.

    • DOCS : update readme web.

    • CHORE : publish packages.

    • CHORE : publish packages.

    • CHORE : publish packages.

    • CHORE : publish packages.

    Open source →
  16. 4.0.0 10 Jul 2023
    Release notes
    • Bump minimum Flutter to 3.0 (#847)
    Open source →
    Release notes
    • FEAT : Update to null safety.

    • Update to null safety and Melos

    Open source →
  17. 3.1.1 14 Jun 2021
    Release notes
    • Update a dependency to the latest release.
    Open source →
  18. 3.1.0 05 Jun 2021
    Release notes
    • FEAT: add several information to resolve #552.
    Open source →
    Release notes
    • Do not throw errors from methods that do not need an activity.

    • [BREAKING] The error thrown is now ActivityNotFoundException which changes the error code returned when activity is not found. It used to be NO_ACTIVITY, now it is just error. We anticipate this error to be rarely experienced in the wild.

    Open source →
  19. 3.0.0 08 Mar 2021
    Release notes

    Note: This release has breaking changes.

    • FEAT: add option to reopen app from notification.
    • FEAT: allow for customizing Android notification text, subtext and color.
    • FEAT: allow for customizing Android background notification from dart.
    • DOCS: update readme web.
    • CHORE: publish packages.
    • CHORE: publish packages.
    • CHORE: publish packages.
    • BREAKING REFACTOR: update the location_web flutter dependency to

      =1.20.0 in order to remove placeholder folders.

    Open source →
    Release notes
    • Add Web and macOS as new supported platforms (huge thanks to long1eu)

    • [BREAKING] Enums are now following Dart guidelines.

    • [BREAKING] onLocationChanged is now a getter to follow Dart guidelines.

    Open source →
  20. 2.0.2 04 Mar 2021
    Release notes
    • FIX: Update Flutter SDK constraint to >=1.20.0 in order to remove placeholder folders
    Open source →
  21. 2.0.0 04 Mar 2021
    Release notes
    • FEAT: Update to null safety.
    • Update to null safety and Melos
    Open source →
    Release notes
    • Code cleanup

    • BREAKING CHANGE: Change Dart API to return structured data rather than a map.

    Open source →
  22. 2.0.0-nullsafety.0 25 Dec 2020 pre-release

    Nothing published for this version

  23. 1.0.1 23 Dec 2020
    Release notes
    • Update Android SDK to Android 10/Q (API level 29)
    Open source →
  24. 1.0.0 26 Mar 2020
    Release notes
    • First release of the Web platform of the Location plugin (huge thanks to long1eu)
    Open source →
    Release notes
    • Initial Release.

    3.21k

    likes

    150

    points

    204k

    downloads

    Documentation

    API reference

    Publisher

    bernos.dev

    Weekly Downloads

    Metadata

    Cross-platform plugin for easy access to device's location in real-time.

    Homepage

    Repository (GitHub)

    View/report issues

    License

    MIT ( license )

    Dependencies

    flutter , location_platform_interface , location_web

    More

    Packages that depend on location

    Packages that implement location

    ← Metadata

    3.21k

    likes

    150

    points

    204k

    downloads

    Documentation

    API reference

    Publisher

    bernos.dev

    Weekly Downloads

    Metadata

    Cross-platform plugin for easy access to device's location in real-time.

    Homepage

    Repository (GitHub)

    View/report issues

    License

    MIT ( license )

    Dependencies

    flutter , location_platform_interface , location_web

    More

    Packages that depend on location

    Packages that implement location

    Back

    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