-
Notifications
You must be signed in to change notification settings - Fork 274
Help it Doesn't Work!!
Chris Scott edited this page Sep 2, 2015
·
2 revisions
Often 3rd-party plugins installed in your app are badly behaved (eg: PhoneGap/PushPlugin
) and cause dependency issues. Try installing the SampleApp to isolate this plugin from issues caused by other plugins.
Once you get the SampleApp booted successfully, add your 3rd-party plugins, one-by-one, to the SampleApp to see which one is causing the problem.
-
on iOS, background tracking won't be engaged until you travel about 2-3 city blocks, so go for a walk or car-ride (or use the Simulator with Debug->Location->City Drive)
-
Android is much quicker detecting movements; typically several meters of walking will do it.
// Remove & re-add the plugin
$ cordova plugin remove com.transistorsoft.cordova.background-geolocation
$ cordova plugin add https://github.com/transistorsoft/cordova-background-geolocation-lt.git
// Remove, re-add and re-build your platform
$ cordova platform remove ios
$ cordova platform add ios
$ cordova build ios
Have you got the correct Android SDKs installed, especially Google Play Services?