{"versions":{"1.0.0":{"name":"cordova-plugin-appversion","version":"1.0.0","description":"Access the native app version & build number in JavaScript","cordova":{"id":"cordova-plugin-appversion","platforms":["android","ios"]},"repository":{"type":"git","url":"https://github.com/Rareloop/cordova-plugin-app-version.git"},"keywords":["cordova","appversion","ecosystem:cordova","cordova-ios","cordova-android"],"author":{"name":"Rareloop","url":"http://rareloop.com"},"license":"MIT","bugs":{"url":"https://github.com/Rareloop/cordova-plugin-app-version/issues"},"homepage":"https://github.com/Rareloop/cordova-plugin-app-version","gitHead":"3a5a6ba458df5ea94ad4a1d5446d468747a543c4","_id":"cordova-plugin-appversion@1.0.0","scripts":{},"_shasum":"b60a3913e475935f9008930b469725c263942891","_from":".","_npmVersion":"2.1.6","_nodeVersion":"0.10.33","_npmUser":{"name":"anonymous","email":"joe@joelambert.co.uk"},"dist":{"shasum":"b60a3913e475935f9008930b469725c263942891","size":3570,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/cordova-plugin-appversion/-/cordova-plugin-appversion-1.0.0.tgz"},"maintainers":[{"name":"anonymous","email":"joe@joelambert.co.uk"}],"directories":{},"publish_time":1429966580601,"_cnpm_publish_time":1429966580601,"_hasShrinkwrap":false,"contributors":[]}},"dist-tags":{"latest":"1.0.0"},"name":"cordova-plugin-appversion","time":{"modified":"2022-01-27T01:22:53.916Z","created":"2022-01-27T01:22:53.916Z","1.0.0":"2015-04-25T12:56:20.601Z"},"readme":"# Cordova App Version Plugin\n\nCordova/PhoneGap plugin for accessing the native app's version and build number within JavaScript. The values are bootstrapped at app load and can be used synchronously.\n\n## Supported Platforms\n\n- iOS\n- Android\n\n## Installation\n\nThe plugin can be installed with the Cordova CLI:\n\n```shell\ncordova plugin add cordova-plugin-appversion\n```\n\nThe plugin is hosted on NPM so requires Cordova CLI `5.0.0` as a minimum. If you have any issues installing, make sure you have the most upto date version of Cordova from NPM:\n\n```shell\nnpm install -g cordova\n```\n\n## Usage\n\nAfter `deviceReady` has fired you'll be able to access a new object in the global scope that contains both the app version and build number.\n\n```javascript\nconsole.log(AppVersion.version); // e.g. \"1.2.3\"\nconsole.log(AppVersion.build); // e.g. 1234\n```","users":{}}