cordova-plugin-gms-support

1.0.2 • Public • Published

GMS Supports

Cordova plugin to check if Google Play Services are supported

Using

In your cordova project folder:

$ cordova plugin add cordova-plugin-gms-support

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

	document.addEventListener('deviceready', function () {

		var success = function(response) {
			// response.status is a boolean value
			console.log(response.status);
		}

		var failure = function(error) {
			console.warn(error);
		}

		GMSSupport.getStatus(success, failure);
	})

Package Sidebar

Install

npm i cordova-plugin-gms-support

Weekly Downloads

4

Version

1.0.2

License

MIT

Unpacked Size

4.21 kB

Total Files

6

Last publish

Collaborators

  • talyuk