malua / cordova-in-app-update-android

[In development ] A cordova plugin to support in-app updates in Android.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cordova-in-app-update-android

A cordova plugin to support in-app updates in Android.

Supported Platforms

  • devices running Android 5.0 (API level 21) or higher,
  • Play Core library 1.5.0 or higher

Installation

cordova plugin add https://github.com/iamparthaonline/cordova-in-app-update-android

How to Use

//after device is ready
var fail = function (message) {    
   alert(message)
}
var success = function (data) {
       console.log("succes");
}
cordova.plugins.InAppUpdateManager.checkForImmediateUpdate( success, fail );

Result

screenshot

If this plugin helps your project then don't forget to ⭐ star the repo.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

[In development ] A cordova plugin to support in-app updates in Android.


Languages

Language:Java 95.8%Language:JavaScript 4.2%