isHMSAvailableWithApkVersion method

Future<int> isHMSAvailableWithApkVersion(
  1. int minApkVersion
)

Checks whether HMS Core (APK) is successfully installed and integrated on a device, and whether the version of the installed APK is that required by the client or is later than the required version.

Implementation

Future<int> isHMSAvailableWithApkVersion(int minApkVersion) async {
  return await _methodChannel.invokeMethod(
    'isHmsAvailableMinApk',
    <String, dynamic>{
      'minApkVersion': minApkVersion,
    },
  );
}