1.0.1 • Published 4 years ago

minshou-in-app-update v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

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(){});