/cordova-plugin-googleplayservices-check

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

Primary LanguageJavaMIT LicenseMIT

Why this fork?

This is a fork made to not show an alert to the user that the play services are missing, Just passing back if it is present or not, thus the coder can decide to show a popup on his own.

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