/AppVersion

Get the app version of a cordova application

Primary LanguageJavaApache License 2.0Apache-2.0

AppVersion

Get the app version of a cordova application. Note that it shows the app version which is present to the user not the build version which is only for internal use.

Installing the plugin to your project

In your project directory:

cordova plugins add https://github.com/confile/AppVersion

Usage

window.Appversion.getVersionNumber(function(versionNumber) {
	console.log('versionNumber: '+versionNumber);
});

Note: The android version returns the android:versionName value of AndroidManifest.xml

Platforms

IOS and Android, windows Phone will be supported later.