mirror of
https://bitbucket.org/TheBosZ/cordova-plugin-run-in-background
synced 2024-12-23 13:57:35 +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();
|
||||
|
||||
// Only enable WP8 by default
|
||||
if (['WinCE', 'Win32NT'].indexOf(device.platform)) {
|
||||
if (['WinCE', 'Win32NT'].indexOf(device.platform) > -1) {
|
||||
exports.enable();
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user