This plugin will return the version of your App that you have set in packaging it. I.e. it will always match the version in the app store.
More information could be available on the GitHub README.

Installation is done via the Cordova CLI.

Install AppVersion using the latest version from GitHub:

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

Supported Platforms
  • Android
  • BlackBerry 10
  • Fire OS
  • Firefox OS
  • iOS
  • Ubuntu
  • Windows 8
  • Windows Phone 7
  • Windows Phone 8
Supported Engines
  • cordova

    >=3.0.0