location_web 7.0.0
location_web: ^7.0.0 copied to clipboard
The web implementation of the location plugin.
7.0.0 #
💥 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).
6.0.1 #
- Configure
pausesLocationUpdatesAutomaticallyon iOS. Should fix (#933)
6.0.0 #
- Bump minimum Dart version to 3.6, minimum Flutter version to 3.27 (#952)
- Bump dependency on
package: webto^1.1.0
5.0.5 #
- Remove dependency on
js
5.0.4 #
- Bump dependency on
package: webto^1.0.0
5.0.3 #
- Bump dependency on
location_platform_interfaceto^5.0.0
5.0.2 #
- Remove dependency on
dart:htmlin favor ofpackage:webto allow complation to WASM (#956)
5.0.1 #
- Downgraded dependency on js ^0.7.1 to js ^0.6.3 for compatibility with firebase_core ^2.27.2 (#942)
5.0.0 #
- Bump minimum Dart version to 3.1, minimum Flutter version to 3.16
- Bump dependencies
4.2.0 #
- Add accuracy to location data, if available (#876 by Tyler Jewell)
4.1.1 #
- Bump dependency on
location_platform_interfaceto^3.1.1
4.1.0 #
- 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
4.0.0 #
- Bump minimum Flutter to 3.0 (#847)
3.1.1 #
- Update a dependency to the latest release.
3.1.0 #
- FEAT: add several information to resolve #552.
3.0.0 #
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.
2.0.2 #
- FIX: Update Flutter SDK constraint to >=1.20.0 in order to remove placeholder folders
2.0.1 #
- DOCS: update readme web.
- CHORE: publish packages.
2.0.0 #
- FEAT: Update to null safety.
- Update to null safety and Melos
1.0.1 07th December 2020 #
- Update Android SDK to Android 10/Q (API level 29)
1.0.0 26th March 2020 #
- First release of the Web platform of the Location plugin (huge thanks to long1eu)