Add browser platform
This commit is contained in:
parent
efd0359c4a
commit
9117e599fa
1652
license-credits.md
1652
license-credits.md
File diff suppressed because it is too large
Load Diff
@ -20,11 +20,13 @@
|
|||||||
"cordova-plugin-whitelist": {}
|
"cordova-plugin-whitelist": {}
|
||||||
},
|
},
|
||||||
"platforms": [
|
"platforms": [
|
||||||
"android"
|
"android",
|
||||||
|
"browser"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"cordova-android": "^8.1.0",
|
"cordova-android": "^8.1.0",
|
||||||
|
"cordova-browser": "^6.0.0",
|
||||||
"cordova-plugin-inappbrowser": "^3.1.0",
|
"cordova-plugin-inappbrowser": "^3.1.0",
|
||||||
"cordova-plugin-powermanagement-netsyms": "git+https://source.netsyms.com/Netsyms/cordova-plugin-powermanagement",
|
"cordova-plugin-powermanagement-netsyms": "git+https://source.netsyms.com/Netsyms/cordova-plugin-powermanagement",
|
||||||
"cordova-plugin-whitelist": "^1.3.4"
|
"cordova-plugin-whitelist": "^1.3.4"
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -113,7 +113,7 @@ var routes = [
|
|||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
if (platform_type == "cordova") {
|
if (platform_type == "cordova" && cordova.platformId != "browser") {
|
||||||
settings.push({
|
settings.push({
|
||||||
setting: "wakelock",
|
setting: "wakelock",
|
||||||
title: "Keep screen on",
|
title: "Keep screen on",
|
||||||
@ -246,4 +246,4 @@ var routes = [
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user