cordova-plugin-gms-support

Cordova plugin to check if Google Play Services are supported

Usage no npm install needed!

<script type="module">
  import cordovaPluginGmsSupport from 'https://cdn.skypack.dev/cordova-plugin-gms-support';
</script>

README

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