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 2026Releases
latest 24-
7.0.018 Jul 2026Release notes
Open source →💥 Breaking changes
- Depends on
location_platform_interface: ^7.0.0, whoseLocationData.latitudeandLocationData.longitudeare 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()/onLocationChangederrors not being catchable asPlatformExceptionlike they are on Android/iOS; browser Geolocation errors are now mapped to aPlatformExceptionwith aPERMISSION_DENIED/POSITION_UNAVAILABLE/TIMEOUTcode (#967).requestPermission()reportingdeniedForeverfor 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.permissionsundefined); it now reports "not yet determined" instead (#959).
Release notes
Open source →-
Bump minimum Dart version to 3.4, minimum Flutter version to 3.22
-
Bump dependencies
- Depends on
-
6.0.128 Jun 2025Release notes
Open source →- Downgraded location_web dependency on js ^0.7.1 to js ^0.6.3 for compatibility with firebase_core ^2.27.2 (#942)
-
6.0.023 Jan 2025Release notes
Open source →- Bump minimum Dart version to 3.6, minimum Flutter version to 3.27 (#952)
- Bump dependency on
package: webto^1.1.0
Release notes
Open source →-
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
-
5.0.413 Oct 2024 -
5.0.328 Jun 2024Release notes
Open source →- Lower minimum iOS deployment target from 13 to 11 (#882 by Matias de Andrea)
-
5.0.228 Jun 2024Release notes
Open source →- Remove dependency on
dart:htmlin favor ofpackage:webto allow complation to WASM (#956)
- Remove dependency on
-
5.0.102 Apr 2024Release notes
Open source →- Downgraded dependency on js ^0.7.1 to js ^0.6.3 for compatibility with firebase_core ^2.27.2 (#942)
Release notes
Open source →-
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
-
5.0.030 Mar 2024Release notes
Open source →- Bump minimum Dart version to 3.1, minimum Flutter version to 3.16
- Bump dependencies
-
5.0.0-dev.324 Jun 2022 pre-releaseNothing published for this version
-
5.0.0-dev.211 Jun 2022 pre-releaseNothing published for this version
-
5.0.0-dev.111 Jun 2022 pre-releaseNothing published for this version
-
5.0.0-dev.010 Jun 2022 pre-releaseNothing published for this version
-
4.2.011 Aug 2023Release notes
Open source →-
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.
-
-
4.1.104 Aug 2023 -
4.1.023 Jul 2023Release notes
Open source →- Refactoring (#853)
- Set up code formatting & linting on CI
- Remove unused dependency on
package:meta - Bump dependency on
location_platform_interfaceto^3.1.0 - Bump minimum Flutter to 3.3
Release notes
Open source →-
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.
- Refactoring (#853)
-
4.0.010 Jul 2023 -
3.1.114 Jun 2021 -
3.1.005 Jun 2021Release notes
Open source →-
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.
-
-
3.0.008 Mar 2021Release notes
Open source →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.
Release notes
Open source →-
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.
-
2.0.204 Mar 2021Release notes
Open source →- FIX: Update Flutter SDK constraint to >=1.20.0 in order to remove placeholder folders
-
2.0.004 Mar 2021Release notes
Open source →-
Code cleanup
-
BREAKING CHANGE: Change Dart API to return structured data rather than a map.
-
-
2.0.0-nullsafety.025 Dec 2020 pre-releaseNothing published for this version
-
1.0.123 Dec 2020 -
1.0.026 Mar 2020Release notes
Open source →- First release of the Web platform of the Location plugin (huge thanks to long1eu)
Release notes
Open source →- 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