Commit 38c0096d authored by Chris Scott's avatar Chris Scott

Update BackgroundGeolocationPlugin.java

Oops, typo.  meant startService.
parent dad2b719
...@@ -95,7 +95,7 @@ public class BackgroundGeolocationPlugin extends CordovaPlugin { ...@@ -95,7 +95,7 @@ public class BackgroundGeolocationPlugin extends CordovaPlugin {
result = applyConfig(data); result = applyConfig(data);
// TODO reconfigure Service // TODO reconfigure Service
if (result) { if (result) {
activity.stopService(backgroundServiceIntent); activity.startService(backgroundServiceIntent);
callbackContext.success(); callbackContext.success();
} else { } else {
callbackContext.error("- Configuration error!"); callbackContext.error("- Configuration error!");
......
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