mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-02-01 02:53:03 +08:00
parent
00d35c636b
commit
4f0cd24476
@ -177,7 +177,7 @@ export interface Config {
|
|||||||
* debug: true, // enable this hear sounds for background-geolocation life-cycle.
|
* debug: true, // enable this hear sounds for background-geolocation life-cycle.
|
||||||
* stopOnTerminate: false, // enable this to clear background location settings when the app terminates
|
* stopOnTerminate: false, // enable this to clear background location settings when the app terminates
|
||||||
* };
|
* };
|
||||||
*
|
*
|
||||||
* BackgroundGeolocation.configure(config)
|
* BackgroundGeolocation.configure(config)
|
||||||
* .then((location) => {
|
* .then((location) => {
|
||||||
* console.log('[js] BackgroundGeolocation callback: ' + location.latitude + ',' + location.longitude);
|
* console.log('[js] BackgroundGeolocation callback: ' + location.latitude + ',' + location.longitude);
|
||||||
@ -202,7 +202,7 @@ export interface Config {
|
|||||||
*/
|
*/
|
||||||
@Plugin({
|
@Plugin({
|
||||||
plugin: 'cordova-plugin-mauron85-background-geolocation',
|
plugin: 'cordova-plugin-mauron85-background-geolocation',
|
||||||
pluginRef: 'plugins.backgroundGeoLocation',
|
pluginRef: 'plugins.backgroundGeolocation',
|
||||||
repo: 'https://github.com/mauron85/cordova-plugin-background-geolocation',
|
repo: 'https://github.com/mauron85/cordova-plugin-background-geolocation',
|
||||||
platforms: ['iOS', 'Android', 'Windows Phone 8']
|
platforms: ['iOS', 'Android', 'Windows Phone 8']
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user