This repository has been archived by the owner on Nov 8, 2023. It is now read-only.
Releases: NativeScript/nativescript-geolocation
Releases · NativeScript/nativescript-geolocation
Fix iOS issue with maximumAge
v4.2.1
v4.2.0
v4.1.0
Introduced new options for background locations in iOS. Fixed issue #44.
New:
- options.iosAllowsBackgroundLocationUpdates - Allow the application to receive location updates in background (ignored on Android)
- options.iosPausesLocationUpdatesAutomatically - Allow deactivation of the automatic pause of location updates (ignored on Android)
v4.0.0
Replaced the Android Location Manager approach with the Google Play Location Service one (used by Google Maps) as there are a lot of known issues with the Location Manager and it's not the recommended approach for getting a location on Android.
Fixed issues #42, #52, #62, #64 and #69.
Breaking changes:
- isEnabled returns 'Promise' instead of 'boolean'
- updateDistance option is not available for android anymore, use updateTime instead. A hint from Google: update interval of 5000 milliseconds (5 seconds), causes the location provider to return location updates that are accurate to within a few feet.