diff --git a/www/background-mode.js b/www/background-mode.js index 5cdd190..15f66cb 100644 --- a/www/background-mode.js +++ b/www/background-mode.js @@ -44,8 +44,7 @@ exports.getDefaults = function () { title: 'App is running in background', text: 'Doing heavy tasks.', ticker: 'App is running in background', - resume: true, - enable: true + resume: true }; }; @@ -79,12 +78,6 @@ exports.configure = function (options) { if (device.platform == 'Android') { cordova.exec(null, null, 'BackgroundMode', 'configure', [settings]); } - - if (settings.enable) { - this.enable(); - } else { - this.disable(); - } }; /**