Commit 953a5563 authored by Chris Scott's avatar Chris Scott

Update README

parent 2a5a3ee8
...@@ -19,8 +19,6 @@ The plugin creates the object `window.plugins.backgroundGeoLocation` with the me ...@@ -19,8 +19,6 @@ The plugin creates the object `window.plugins.backgroundGeoLocation` with the me
phonegap plugin add https://github.com/christocracy/cordova-plugin-background-geolocation.git phonegap plugin add https://github.com/christocracy/cordova-plugin-background-geolocation.git
``` ```
The plugin includes `org.apache.cordova.geolocation` as a dependency. You must enable Cordova's GeoLocation in the foreground and have the user accept Location services by executing `#watchPosition` or `#getCurrentPosition`.
A full example could be: A full example could be:
``` ```
var bgGeo = window.plugins.backgroundGeoLocation; var bgGeo = window.plugins.backgroundGeoLocation;
...@@ -55,6 +53,8 @@ A full example could be: ...@@ -55,6 +53,8 @@ A full example could be:
``` ```
NOTE: The plugin includes `org.apache.cordova.geolocation` as a dependency. You must enable Cordova's GeoLocation in the foreground and have the user accept Location services by executing `#watchPosition` or `#getCurrentPosition`.
## iOS ## iOS
The iOS implementation of background geolocation uses [CLLocationManager#startMonitoringSignificantLocationChanges](https://developer.apple.com/library/ios/documentation/CoreLocation/Reference/CLLocationManager_Class/CLLocationManager/CLLocationManager.html#//apple_ref/occ/instm/CLLocationManager/startMonitoringSignificantLocationChanges) The iOS implementation of background geolocation uses [CLLocationManager#startMonitoringSignificantLocationChanges](https://developer.apple.com/library/ios/documentation/CoreLocation/Reference/CLLocationManager_Class/CLLocationManager/CLLocationManager.html#//apple_ref/occ/instm/CLLocationManager/startMonitoringSignificantLocationChanges)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment