Closed SaberDevel closed 6 years ago
In ionic, I set config.xml: version="0.1.5"
version="0.1.5"
appVersion.getVersionCode().then(function (versionCode) { console.log(versionCode); });
console output:105
105
version="0.1.15"
console output:115
115
there are some phones that output:1152
1152
i intend to set up a set of check and update mechanism based on app version code. how should I set up the remote version number according to the version of ionic?
run the app,from console output the version code?
I can't confirm this. If I set version="0.1.5" in config.xml, then getVersionCode() resolves to "0.1.5".
config.xml
getVersionCode()
"0.1.5"
In ionic, I set config.xml:
version="0.1.5"
console output:
105
version="0.1.15"
console output:
115
there are some phones that output:
1152
i intend to set up a set of check and update mechanism based on app version code. how should I set up the remote version number according to the version of ionic?
run the app,from console output the version code?