react-native-geolocation-service
Advanced tools
Comparing version 5.1.1 to 5.2.0
# Changelog | ||
### 5.2.0 (February 2, 2021) | ||
- Android: fix location request on airplane mode | ||
- iOS: add ability to configure showsBackgroundLocationIndicator | ||
- iOS: fix location delay in getCurrentPosition method | ||
- iOS: add `reduced` as an accuracy option | ||
### 5.1.1 (November 28, 2020) | ||
@@ -4,0 +10,0 @@ - Fix iOS `pod install` issue. |
@@ -24,1 +24,2 @@ # Accuracy Level | ||
| threeKilometers | Accurate to the nearest three kilometers. | | ||
| reduced | Used when an app does not need accurate location data. | |
@@ -12,3 +12,4 @@ declare module 'react-native-geolocation-service' { | ||
| 'kilometer' | ||
| 'threeKilometers'; | ||
| 'threeKilometers' | ||
| 'reduced'; | ||
@@ -41,2 +42,3 @@ export type AccuracyAndroid = | ||
useSignificantChanges?: boolean | ||
showsBackgroundLocationIndicator?: boolean | ||
} | ||
@@ -43,0 +45,0 @@ |
{ | ||
"name": "react-native-geolocation-service", | ||
"version": "5.1.1", | ||
"version": "5.2.0", | ||
"description": "React native geolocation service for iOS and android", | ||
@@ -5,0 +5,0 @@ "main": "js/index.js", |
@@ -97,2 +97,3 @@ # react-native-geolocation-service | ||
| useSignificantChanges | `bool` | false | Uses the battery-efficient native significant changes APIs to return locations. Locations will only be returned when the device detects a significant distance has been breached (iOS only) | ||
| showsBackgroundLocationIndicator | `bool` | false | This setting enables a blue bar or a blue pill in the status bar on iOS. When the app moves to the background, the system uses this property to determine whether to change the status bar appearance to indicate that location services are in use. Users can tap the indicator to return to your app. (iOS only) | ||
@@ -99,0 +100,0 @@ #### `clearWatch(watchId)` |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
76056
213
134