- Exposes the
WebSettings
class as a public type.
- Adds WebSettings class, allowing a location maximumAge to be specified.
- Supports maximumAge parameter in
getCurrentPosition
andwatchPosition
methods.
- Upgrades the package:web dependency to version 1.0.0.
- Upgrades Dart SDK from 3.3.0 to 3.4.0 for geolocator_web.
BREAKING CHANGE:
- Migrates from dart:html to package:web and dart:js_interop
- Migrates to Dart SDK 3.3.0 and Flutter 3.16.0.
BREAKING CHANGE:
getServiceStatusStream
on web returns a PlatformException i.s.o. UnimplementedError. As the concept of location service doesn't exist on the web platform.
- Migrates tests to support sound null safety.
- Exposes altitude accuracy field in
Position
object.
- Mark
geolocator_web
as implementation ofgeolocator
- Migrates to Dart SDK 2.15.0 and Flutter 2.8.0.
- Fixes repository URL of the package.
- Adds support for the
LocationPermission.unableToDetermine
status which is reported by theGeolocator.checkPermission()
method when a browser (like Safari) doesn't support the permission API.
- Updated to the latest version of the
geolocator_platform_interface':
4.0.0`.
- Fixes a bug where the
getCurrentPosition
andgetPositionStream
methods return a timeout exception when no timeout interval is specified.
- Upgrade the
geolocator_platform_interface
dependency to version 3.0.1.
- Made changes to the implementation of the
getCurrentPosition
andgetPositionStream
method to match new platform interface. - Fixes issues where geolocator doesn't work on Safari due to missing implementation of
query
method in the browser.
- Fixes a bug where the
LocationAccuracy.reduced
accuracy value is treated as high accuracy on web.
- Ensure the
requestPermission
method correctly awaits the users input and not return prematurely (see issue #783).
- Added an example App to demonstrate how to directly use the geolocator_web package in a Flutter application.
- Implement missing
isLocationServiceEnabled
for web implementation (see issue #694).
- Solve bug receiving same location from stream when using
distantFilter
(see issue #674).
- Solve bug causing error when requesting permissions (see issue #673).
- Stable release for null safety.
- Solve bug causing error when requesting permissions (see issue #673).
- Initial release of the geolocator web implementation.