From 4f0cd244765518b88c472fe22a366411fa8a4217 Mon Sep 17 00:00:00 2001 From: Ibby Hadeed Date: Mon, 11 Jul 2016 17:40:51 -0400 Subject: [PATCH] fix(geolocation): fix plugin reference closes #258 --- src/plugins/background-geolocation.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/background-geolocation.ts b/src/plugins/background-geolocation.ts index f49515306..28d4435b0 100644 --- a/src/plugins/background-geolocation.ts +++ b/src/plugins/background-geolocation.ts @@ -177,7 +177,7 @@ export interface Config { * debug: true, // enable this hear sounds for background-geolocation life-cycle. * stopOnTerminate: false, // enable this to clear background location settings when the app terminates * }; - * + * * BackgroundGeolocation.configure(config) * .then((location) => { * console.log('[js] BackgroundGeolocation callback: ' + location.latitude + ',' + location.longitude); @@ -202,7 +202,7 @@ export interface Config { */ @Plugin({ plugin: 'cordova-plugin-mauron85-background-geolocation', - pluginRef: 'plugins.backgroundGeoLocation', + pluginRef: 'plugins.backgroundGeolocation', repo: 'https://github.com/mauron85/cordova-plugin-background-geolocation', platforms: ['iOS', 'Android', 'Windows Phone 8'] })