Remove enable: flag

This commit is contained in:
Sebastián Katzer 2014-11-12 22:47:49 +01:00
parent 96663a36e8
commit 01202bb250

View File

@ -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();
}
};
/**