Cordova AppVersion Plugin
Last updated
Last updated
This Cordova/PhoneGap plugin reads the version of your app from the target build settings.
Plugin ID/package name: cordova-plugin-app-version
Tested version: 0.1.11
To check the third party Cordova plugins, you need to create a custom build debugger (Android version or iOS version).
Import AppVersion plugin demo to your Monaca account
From the IDE menu, go to Config → Manage Cordova Plugins .
Click the Import Cordova Plugin button. Then, choose to import the plugin using a ZIP file or a URL/package name.
This section describes some of the main functions used in our demo. For complete API references, please refer to the repository.
Get the name of the app.
Return Value
Promise
Example
Get the package name of the app.
Return Value
Promise
Example
Get the build identifier of the app.
Return Value
Promise
Example
Get the version number of the app.
Return Value
Promise
Example