Cordova Plugin (AppVersion) Example
This can be done by calling the cordova plugin (AppVersion)
Example #
Display in an alert box.
Javascript :
AppVersion.getAppVersion(function (version) { alert(version); });
Example #
Display in javascript console..
Javascript :
AppVersion.getAppVersion(function (version) { console.log(version); });
Available in Android builds 0.11.9 and above