1.0.1 • Published 5 years ago

cordova-plugin-inappupdate v1.0.1

Weekly downloads
5
License
Apache 2.0 Licens...
Repository
github
Last release
5 years ago

cordova-plugin-inappupdate

This plugin establishes the functionality for downloading the app in background

For Optional Update:

window.inappupdate("inAppUpdate", { "updateIndicator": "optional", "displayMessage": "An update has just been downloaded", "actionBtn": "Install" } , function (msg) { console.log(JSON.stringify(msg)); return true; }, function (data) { console.log(data); });

For Mandatory Update:

window.inappupdate("inAppUpdate", { "updateIndicator": "mandatory", "displayMessage": "An update has just been downloaded", "actionBtn": "Install" } , function (msg) { console.log(JSON.stringify(msg)); return true; }, function (data) { console.log(data); });