Add version and copyright info to Settings, bump version to 1.1.0
This commit is contained in:
parent
6e5f45ef0a
commit
d3d7f6b51e
@ -1,5 +1,5 @@
|
|||||||
<?xml version='1.0' encoding='utf-8'?>
|
<?xml version='1.0' encoding='utf-8'?>
|
||||||
<widget id="com.netsyms.BusinessMobile" version="1.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
|
<widget id="com.netsyms.BusinessMobile" version="1.1.0" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
|
||||||
<name>Business</name>
|
<name>Business</name>
|
||||||
<description>
|
<description>
|
||||||
Mobile client for the Netsyms Business Apps.
|
Mobile client for the Netsyms Business Apps.
|
||||||
@ -59,6 +59,7 @@
|
|||||||
<preference name="SplashScreenDelay" value="3000" />
|
<preference name="SplashScreenDelay" value="3000" />
|
||||||
<preference name="AutoHideSplashScreen" value="false" />
|
<preference name="AutoHideSplashScreen" value="false" />
|
||||||
<engine name="android" spec="^6.2.3" />
|
<engine name="android" spec="^6.2.3" />
|
||||||
|
<plugin name="cordova-plugin-app-version" spec="^0.1.9" />
|
||||||
<plugin name="cordova-plugin-console" spec="git+https://github.com/apache/cordova-plugin-console.git" />
|
<plugin name="cordova-plugin-console" spec="git+https://github.com/apache/cordova-plugin-console.git" />
|
||||||
<plugin name="cordova-plugin-device" spec="git+https://github.com/apache/cordova-plugin-device.git" />
|
<plugin name="cordova-plugin-device" spec="git+https://github.com/apache/cordova-plugin-device.git" />
|
||||||
<plugin name="cordova-plugin-dialogs" spec="git+https://github.com/apache/cordova-plugin-dialogs.git" />
|
<plugin name="cordova-plugin-dialogs" spec="git+https://github.com/apache/cordova-plugin-dialogs.git" />
|
||||||
|
@ -6,4 +6,5 @@ cordova-plugin-whitelist=https://github.com/apache/cordova-plugin-whitelist.git
|
|||||||
phonegap-plugin-barcodescanner=https://github.com/phonegap/phonegap-plugin-barcodescanner.git
|
phonegap-plugin-barcodescanner=https://github.com/phonegap/phonegap-plugin-barcodescanner.git
|
||||||
cordova-plugin-statusbar=https://github.com/apache/cordova-plugin-statusbar.git
|
cordova-plugin-statusbar=https://github.com/apache/cordova-plugin-statusbar.git
|
||||||
cordova-plugin-headercolor=https://github.com/tomloprod/cordova-plugin-headercolor.git
|
cordova-plugin-headercolor=https://github.com/tomloprod/cordova-plugin-headercolor.git
|
||||||
cordova-plugin-inappbrowser=https://github.com/apache/cordova-plugin-inappbrowser.git
|
cordova-plugin-inappbrowser=https://github.com/apache/cordova-plugin-inappbrowser.git
|
||||||
|
cordova-plugin-app-version=https://github.com/whiteoctober/cordova-plugin-app-version.git
|
@ -8,6 +8,7 @@
|
|||||||
"license": "netsyms-business-license",
|
"license": "netsyms-business-license",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"cordova-android": "^6.2.3",
|
"cordova-android": "^6.2.3",
|
||||||
|
"cordova-plugin-app-version": "^0.1.9",
|
||||||
"cordova-plugin-compat": "^1.1.0",
|
"cordova-plugin-compat": "^1.1.0",
|
||||||
"cordova-plugin-console": "git+https://github.com/apache/cordova-plugin-console.git",
|
"cordova-plugin-console": "git+https://github.com/apache/cordova-plugin-console.git",
|
||||||
"cordova-plugin-device": "git+https://github.com/apache/cordova-plugin-device.git",
|
"cordova-plugin-device": "git+https://github.com/apache/cordova-plugin-device.git",
|
||||||
@ -30,7 +31,8 @@
|
|||||||
"cordova-plugin-splashscreen": {},
|
"cordova-plugin-splashscreen": {},
|
||||||
"cordova-plugin-statusbar": {},
|
"cordova-plugin-statusbar": {},
|
||||||
"cordova-plugin-headercolor": {},
|
"cordova-plugin-headercolor": {},
|
||||||
"cordova-plugin-inappbrowser": {}
|
"cordova-plugin-inappbrowser": {},
|
||||||
|
"cordova-plugin-app-version": {}
|
||||||
},
|
},
|
||||||
"platforms": [
|
"platforms": [
|
||||||
"android"
|
"android"
|
||||||
|
@ -28,6 +28,18 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="list-group">
|
||||||
|
<div class="list-group-item">
|
||||||
|
<span id="app_name">Netsyms Business Apps for Mobile</span> v<span id="app_version">1.x</span>
|
||||||
|
<br />
|
||||||
|
Copyright © 2017 Netsyms Technologies (https://netsyms.com)
|
||||||
|
<br />
|
||||||
|
<span id="app_package">com.netsyms.BusinessMobile</span>
|
||||||
|
<br />
|
||||||
|
build #<span id="app_version_code">1xxxx</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
setnavbar("settings");
|
setnavbar("settings");
|
||||||
|
|
||||||
@ -56,7 +68,7 @@
|
|||||||
function openportal() {
|
function openportal() {
|
||||||
openapp("portal", "/mobile/index.php", localStorage.getItem("portalurl").replace("/mobile/index.php", ""), "/static/img/logo.svg", "Portal", false, true);
|
openapp("portal", "/mobile/index.php", localStorage.getItem("portalurl").replace("/mobile/index.php", ""), "/static/img/logo.svg", "Portal", false, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
function toggleAnimations() {
|
function toggleAnimations() {
|
||||||
if (localStorage.getItem("animations") === null || localStorage.getItem("animations") === "true") {
|
if (localStorage.getItem("animations") === null || localStorage.getItem("animations") === "true") {
|
||||||
localStorage.setItem("animations", "false");
|
localStorage.setItem("animations", "false");
|
||||||
@ -101,8 +113,18 @@
|
|||||||
}
|
}
|
||||||
}, "Update Password", ["Save", "Cancel"]);
|
}, "Update Password", ["Save", "Cancel"]);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (localStorage.getItem("animations") === "false") {
|
if (localStorage.getItem("animations") === "false") {
|
||||||
$('#animations_offon_label').text("on");
|
$('#animations_offon_label').text("on");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
cordova.getAppVersion.getVersionNumber(function (version) {
|
||||||
|
$('#app_version').text(version);
|
||||||
|
});
|
||||||
|
cordova.getAppVersion.getPackageName(function (package) {
|
||||||
|
$('#app_package').text(package);
|
||||||
|
});
|
||||||
|
cordova.getAppVersion.getVersionCode(function (version) {
|
||||||
|
$('#app_version_code').text(version);
|
||||||
|
});
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user