Skip to content

Simple cordova plugin for checking that the google play services are installed, updated and enabled.

License

Notifications You must be signed in to change notification settings

rehmatt/cordova-plugin-googleplayservices-check

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cordova Google Play Services Check

Simple cordova plugin for checking that the google play services are installed, updated and enabled.

Using

In your cordova project folder:

$ cordova plugin add cordova-plugin-googleplayservices-check

Then the variable 'GooglePlayServicesCheck' will be available after deviceready fires.

	document.addEventListener('deviceready', function () {
	
		var success = function(response) {
			// response.isGooglePlayServicesAvailable is a boolean value
			response.isGooglePlayServicesAvailable;
		} 

		var failure = function(response) {
			response.isGooglePlayServicesAvailable;
		}

		GooglePlayServicesCheck.check(success, failure);
	})

About

Simple cordova plugin for checking that the google play services are installed, updated and enabled.

Resources

License

Stars

Watchers

Forks

Packages

No packages published