A cordova plugin to support in-app updates in Android.
- devices running Android 5.0 (API level 21) or higher,
- Play Core library 1.5.0 or higher
cordova plugin add https://github.com/iamparthaonline/cordova-in-app-update-android
//after device is ready
var fail = function (message) {
alert(message)
}
var success = function (data) {
console.log("succes");
}
cordova.plugins.InAppUpdateManager.checkForImmediateUpdate( success, fail );
If this plugin helps your project then don't forget to ⭐ star the repo.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request