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.
https://github.com/merbin2012/cordova-plugin-codeplay-in-app-update$ cordova plugin add cordova-plugin-codeplay-in-app-update
$ phonegap local plugin add cordova-plugin-codeplay-in-app-update
$ cordova plugin rm cordova-plugin-codeplay-in-app-update
$ phonegap local plugin rm cordova-plugin-codeplay-in-app-update
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(){});
- Android
https://play.google.com/store/apps/details?id=sql.code.play
https://play.google.com/store/apps/details?id=html.editor.codeplay
https://play.google.com/store/apps/details?id=php.code.play
https://play.google.com/store/apps/details?id=cordova.code.play
https://play.google.com/store/apps/details?id=com.kids.learning.master