Skip to content

Instantly share code, notes, and snippets.

@mahdi-malv
Created November 10, 2020 14:23
Show Gist options
  • Save mahdi-malv/a32bfd2e11fdd3fe8aeb093450d744d5 to your computer and use it in GitHub Desktop.
Save mahdi-malv/a32bfd2e11fdd3fe8aeb093450d744d5 to your computer and use it in GitHub Desktop.
Pushe checks for HMS
val isHmsAvailable = HuaweiApiAvailability.getInstance()
.isHuaweiMobileServicesAvailable(context) == ConnectionResult.SUCCESS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment