You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
3. In the XCode project navigator, select your project, select the `Build Phases` tab and in the `Link Binary With Libraries` section add **libRCTBackgroundGeolocation.a**
259
259
4. add `UIBackgroundModes`**location** to `Info.plist`
260
+
5. add `NSMotionUsageDescription`**App requires motion tracking** to `Info.plist` (required by ACTIVITY_PROVIDER)
260
261
261
262
For iOS before version 11:
262
263
263
-
5. add `NSLocationAlwaysUsageDescription`**App requires background tracking** to `Info.plist`
264
+
6. add `NSLocationAlwaysUsageDescription`**App requires background tracking** to `Info.plist`
264
265
265
266
For iOS 11:
266
267
267
-
5. add `NSLocationWhenInUseUsageDescription`**App requires background tracking** to `Info.plist`
268
-
6. add `NSLocationAlwaysAndWhenInUseUsageDescription`**App requires background tracking** to `Info.plist`
268
+
6. add `NSLocationWhenInUseUsageDescription`**App requires background tracking** to `Info.plist`
269
+
7. add `NSLocationAlwaysAndWhenInUseUsageDescription`**App requires background tracking** to `Info.plist`
269
270
270
271
## API
271
272
@@ -370,8 +371,6 @@ Platform: iOS, Android
370
371
Method will return all stored locations.
371
372
This method is useful for initial rendering of user location on a map just after application launch.
372
373
373
-
NOTE: Returned locations does not contain location.id.
374
-
375
374
| Success callback parameter | Type | Description |
Note: Do not use location `id` as unique key in your database as ids will be reused when `option.maxLocations` is reached.
477
+
477
478
Note: Android currently returns `time` as type of String (instead of Number) [@see issue #9685](https://github.com/facebook/react-native/issues/9685)
0 commit comments