Tutorialsplane

Get App Version in ionic framework


Get App Version in ionic framework : If you are working with ionic framework and looking for App version of current build you can use the following syntax explained below-


Get App Version in ionic framework

Here is example of getting App Version in ionic framework –

Get App Version in ionic framework Syntax

cordova.getAppVersion(function (version) {
alert(version);
});

Which will give you current app version.

Note : Cordova app version plugin is required make sure it’s installed if not follow these steps to install this – cordova-plugin-app-version.

Ionic FAQ