fix(geolocation): fix plugin reference

closes #258
This commit is contained in:
Ibby Hadeed 2016-07-11 17:40:51 -04:00
parent 00d35c636b
commit 4f0cd24476

View File

@ -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']
}) })