Search docs/

App Version

Reads the version of your app from the target build settings.

Requires Cordova plugin: cordova-plugin-app-version. For more info, please see the Cordova App Version docs.

https://github.com/whiteoctober/cordova-plugin-app-version

Premier Version Available

Featuring regular release cycles, security and bug fixes, and guaranteed SLAs.

Available here

Installation

ionic cordova plugin add cordova-plugin-app-versionnpm install @ionic-native/app-version
Ionic Native Enterprise comes with fully supported and maintained plugins from the Ionic Team. Learn More or if you're interested in an enterprise version of this plugin Contact Us

Supported Platforms

  • Android
  • iOS
  • Windows

Usage

import { AppVersion } from '@ionic-native/app-version/ngx';

constructor(private appVersion: AppVersion) { }

...


this.appVersion.getAppName();
this.appVersion.getPackageName();
this.appVersion.getVersionCode();
this.appVersion.getVersionNumber();