Giter Club home page Giter Club logo

sithwarrior / cordova-plugin-codeplay-in-app-update Goto Github PK

View Code? Open in Web Editor NEW

This project forked from merbin2012/cordova-plugin-codeplay-in-app-update

0.0 0.0 0.0 8 KB

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 that introduces a new request flow to prompt active users to update your app.

Java 94.43% JavaScript 5.57%

cordova-plugin-codeplay-in-app-update's Introduction

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

cordova-plugin-codeplay-in-app-update's People

Contributors

merbin2012 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.