capacitor-plugin-gmshms-checker
Version:
Capacitor plugin to check GMS and HMS availability
21 lines (20 loc) • 556 B
TypeScript
export interface ServiceCheckerPlugin {
/**
* Platform: Android
* Gets true if GMS are available on the device
* @param none
* @returns object {value: boolean} - boolean indicates if GMS are available
*/
isGMSAvailable(): Promise<{
value: boolean;
}>;
/**
* Platform: Android
* Gets true if HMS are available on the device
* @param none
* @returns object {value: boolean} - boolean indicates if HMS are available
*/
isHMSAvailable(): Promise<{
value: boolean;
}>;
}