1.0.0 • Published 6 years ago

cordova-plugin-app-store-version v1.0.0

Weekly downloads
7
License
Apache 2.0
Repository
github
Last release
6 years ago

Purpose:

The cordova-plugin-app-update has been modified by kharryman to SIMPLY return the latest version of the app from either google play store, or iTunes App store.

travis

NPM

cordova-plugin-app-update

App updater for Cordova/PhoneGap

Install

Latest published version on npm (with Cordova CLI >= 5.0.0)

"cordova-android": "6.3.0"

cordova plugin add cordova-plugin-app-update-version --save

Usage

  • Simple:
        window.AppUpdate.checkAppUpdate(
          function(latestVersion){
            console.log("APP UPDATE SUCCESS latestVersion= " + latestVersion);
            deferred.resolve(latestVersion);
          },
          function(fail){
            console.log("APP UPDATE FAIL = " + JSON.stringify(fail));
            deferred.resolve(false);
          }, packageName, {}
        );

Platforms

Android and IOS

License

MIT

:snowflake: :beers:

  • Please let me know if you have any questions.