Add browser platform

This commit is contained in:
Skylar Ittner 2019-11-06 14:34:44 -07:00
parent efd0359c4a
commit 9117e599fa
4 changed files with 3308 additions and 5 deletions

File diff suppressed because it is too large Load Diff

View File

@ -20,11 +20,13 @@
"cordova-plugin-whitelist": {}
},
"platforms": [
"android"
"android",
"browser"
]
},
"dependencies": {
"cordova-android": "^8.1.0",
"cordova-browser": "^6.0.0",
"cordova-plugin-inappbrowser": "^3.1.0",
"cordova-plugin-powermanagement-netsyms": "git+https://source.netsyms.com/Netsyms/cordova-plugin-powermanagement",
"cordova-plugin-whitelist": "^1.3.4"

File diff suppressed because it is too large Load Diff

View File

@ -113,7 +113,7 @@ var routes = [
}
];
if (platform_type == "cordova") {
if (platform_type == "cordova" && cordova.platformId != "browser") {
settings.push({
setting: "wakelock",
title: "Keep screen on",
@ -246,4 +246,4 @@ var routes = [
});
}
},
];
];