minshou-in-app-update
v1.0.1
Published
Developed by HTML Code Play and this plugin is used to check your app for updates through play store and download available version using immediate or flexible option
Downloads
6
Readme
Developed by HTML Code Play and this plugin is used for check your app update through play store and if any new version available download by using immediate or flexible option.
cordova.plugins.inappupdate.isUpdateAvailable(success,fail);
cordova.plugins.inappupdate.isUpdateAvailable(success,fail);
function success(result)
{
if(JSON.parse(result))
{
alert("App update available");
}
else
{
alert("No app update available");
}
}
function fail(result)
{
console.log(result);
}
cordova.plugins.inappupdate.update("flexible",function(){},function(){});
cordova.plugins.inappupdate.update("immediate",function(){},function(){});