Skip to content

Keeping your app up-to-date on your users’ devices enables them to try new features, as well as benefit from performance improvements and bug fixes. Although some users enable background updates when their device is connected to an unmetered connection, other users may need to be reminded to update. In-app updates is a Play Core library feature …

Notifications You must be signed in to change notification settings

merbin2012/cordova-plugin-codeplay-in-app-update

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code Play cordova in-app update

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.

Git URL

https://github.com/merbin2012/cordova-plugin-codeplay-in-app-update

How to Instalation?

Using the Cordova CLI

$ cordova plugin add cordova-plugin-codeplay-in-app-update

Using the phonegap CLI

$ phonegap local plugin add cordova-plugin-codeplay-in-app-update

How to Uninstall?

Using the Cordova CLI

$ cordova plugin rm cordova-plugin-codeplay-in-app-update

Using the phonegap CLI

$ phonegap local plugin rm cordova-plugin-codeplay-in-app-update

Check app update available or not

Syntax

cordova.plugins.inappupdate.isUpdateAvailable(success,fail);

Example

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

Start flexible Update

Syntax

cordova.plugins.inappupdate.update("flexible",function(){},function(){});

Screenshot

Start immediate Update

Syntax

cordova.plugins.inappupdate.update("immediate",function(){},function(){});

Screenshot

Support Platfrom

  • Android

Our Apps

https://play.google.com/store/apps/details?id=com.HTML.AngularJS.Codeplay

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

About

Keeping your app up-to-date on your users’ devices enables them to try new features, as well as benefit from performance improvements and bug fixes. Although some users enable background updates when their device is connected to an unmetered connection, other users may need to be reminded to update. In-app updates is a Play Core library feature …

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published