[Android] Fix logic error with getCurrentPosition not respecting timeout.
[iOS] Fix bug in iOS scheduler firing on days where it should not.
[iOS] Rebuild TSLocationManager.xcframework with XCode 13 (instead of XCode 14).
[Android] Add new Config Notification.channelId for custom customizing the NotificationChannel id. Some use
rs have an existing foreground-service and NotificationChannel so wish to have the plugin's foreground-service
s share the same notification and channel. This option should generally not be used.
[Android] Add permission android.permission.POST_NOTIFICATIONS for Android 13 (targetSdkVersion 33). Requ
ired to allow enabling notifications in Settings->Apps.
[Android] Add new Config option Authorization.refreshHeaders for full control over HTTP headers sent to Author ization.refreshUrl when refreshing auth token.
[Android] Add null check when executing PowerManager.isPowerSaveMode().`
[Android] Add new Config.disableProviderChangeRecord (default false) to allow disabling the automatical HTTP POST of the onProviderChange location record. Some users do not want this automatically uploaded locatio
n whenever the state of location-services is changed (eg: Location-services disabled, Airplane mode, etc).
[Android] Fix bug with disableMotionActivityUpdates: true and calling .start() followed immediately by .changePace(true). The SDK would fail to enter the moving state, entering the stationary state instead.
Add new iOS 15 CLLocation attribute Location.ellipsoidal_altitudeThe altitude as a height above the World Geodetic System 1984 (WGS84) ellipsoid, measured in meters. Android Location.altitude has always returned ellipsoidal altutude, so both Location.altitude and Location.ellipsoidal_altitude will return the same value.
4.9.2 — 2022-10-26
getCurrentPosition
not respectingtimeout
.TSLocationManager.xcframework
with XCode 13 (instead of XCode 14).Notification.channelId
for custom customizing theNotificationChannel
id. Some use rs have an existing foreground-service andNotificationChannel
so wish to have the plugin's foreground-service s share the same notification and channel. This option should generally not be used.android.permission.POST_NOTIFICATIONS
for Android 13 (targetSdkVersion 33). Requ ired to allow enabling notifications in Settings->Apps.Authorization.refreshHeaders
for full control over HTTP headers sent toAuthor ization.refreshUrl
when refreshing auth token.null
check when executingPowerManager.isPowerSaveMode()
.`Config.disableProviderChangeRecord (default false)
to allow disabling the automatical HTTP POST of theonProviderChange
location record. Some users do not want this automatically uploaded locatio n whenever the state of location-services is changed (eg: Location-services disabled, Airplane mode, etc).disableMotionActivityUpdates: true
and calling.start()
followed immediately by.changePace(true)
. The SDK would fail to enter the moving state, entering the stationary state instead.CLLocation
attributeLocation.ellipsoidal_altitude
The altitude as a height above the World Geodetic System 1984 (WGS84) ellipsoid, measured in meters. AndroidLocation.altitude
has always returned ellipsoidal altutude, so bothLocation.altitude
andLocation.ellipsoidal_altitude
will return the same value.