mirror of
https://bitbucket.org/TheBosZ/cordova-plugin-run-in-background
synced 2024-11-22 07:14:54 +00:00
Fix bug which enabled plugin by default on all platforms
This commit is contained in:
parent
5e1b60d363
commit
42a1553a5e
@ -31,7 +31,7 @@ channel.deviceready.subscribe(function () {
|
|||||||
exports.configure();
|
exports.configure();
|
||||||
|
|
||||||
// Only enable WP8 by default
|
// Only enable WP8 by default
|
||||||
if (['WinCE', 'Win32NT'].indexOf(device.platform)) {
|
if (['WinCE', 'Win32NT'].indexOf(device.platform) > -1) {
|
||||||
exports.enable();
|
exports.enable();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user