Skip to content

onurkenis/cordova-service-checker

Repository files navigation

Cordova - HMS & GMS Availability Checker

This plugin is created to serve Huawei Mobile Services and Google Mobile Servies availability check on the Android platform.

Usage

  1. Add plugin to your projects.
cordova plugin add https://github.com/onurkenis/cordova-service-checker.git
  1. Check Huawei Mobile Services availability:
const isHmsAvailable = await cordova.plugins.CordovaServiceChecker.isHmsAvailable();
  1. Check Google Mobile Services availability:
const isGmsAvailable = await cordova.plugins.CordovaServiceChecker.isGmsAvailable();

Contributing

Commit messages must comply with conventional commits. Otherwise commitlint will complain.

Thanks to commitizen, npm run commit command can be used to create commit messages complying with conventional commits.

Don't forget to install dependencies with npm install before to use commitizen.

About

A plugin to check Google Mobile Services and Huawei Mobile Services availabilities.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published