- Adds privacy manifest.
- Adds option to bypass the request for permission to update location in the background (which can attract scrutiny from Apple upon app submission). To bypass, set the preprocessor macro
BYPASS_PERMISSION_LOCATION_ALWAYS
to 1 in XCode.
- Previously the plugin filtered out negative values for heading and/or heading accuracy. Now the plugin is returning the heading and/or the heading accuracy even if the they have a negative value (invalid), so that the developer can use it and decide what to do with it.
- Allows the ARM64 architecture as a valid IPhone simulator architecture.
- Ensures the
[CLLocationManager locationServicesEnabled]
message is called on a background thread when listening for service updates.
- Fixes build error and warnings regarding unused variables and unavailable APIs on macOS.
- Fixes a bug where invalid speed and speed accuracy readings where returned instead of ignored.
- Includes
altitudeAccuracy
andheadingAccuracy
inPosition
.
- Fixes the propagation of the activity type setting.
- Ensures the
isLocationServicesEnabled
method is executed in a background thread.
- Fixes a bug where iOS location manager background geolocation settings are overridden by calls to the
getCurrentPosition
method.
- Fix plugin registration in
dart_plugin_registrant.dart
- Implement allowBackgroundLocationUpdates iOS setting
- Fix requesting location while listening to location stream stops the stream
- Migrates to Dart SDK 2.15.0 and Flutter 2.8.0.
- Raises minimum Dart version to 2.17 and Flutter version to 3.0.0.
- Updates
isMocked
flag on iOS 15 and higher. - Updates the example application to request permissions when start listening to the position stream.
- Fix background location indicator not showing on first time using the service.
- Fixes repository URL of the package.
- Switches to a package-internal implementation of the platform interface.
- Resolves issue with symbolic links in 2.1.1 version.
- Added additional option to Apple settings to allow the user to configure the background location indicator of CLocationManager.
- Ensures that the
getCurrentPosition
takes the supplied accuracy into account. - Improves the speed of acquiring the current position.
- Adds a native test bed.
- Updated to the latest version of the
geolocator_platform_interface':
4.0.0`.
- Removes the Android specific
timeInterval
parameter fromAppleSettings
.
- Adds missing
timeLimit
to theAppleSettings
class.
- iOS: Keep
PositionStream
alive when theLocation Services
has been turned off and on again in the settings. - Removed implicit request for permissions when getting a position.
- Added the [ActivityType] enum needed for the
pauseLocationUpdatesAutomatically
property. - Added the
pauseLocationUpdatesAutomatically
andactivityType
property to the iOS options class.
- Fixed iOS cancelation of positionStream.
- Use
requestAlwaysAuthorization
instead ofrequestWhenInUseAuthorization
on macOS as both result in the same behaviour but the former has better support on Catelina.
- Make sure the
getCurrentPosition
method returns the current position and not a cached location which might be wrong (see issue #629).
- Added support for macOS Desktop.
- Initial open source release.