isAndroidGoogleNotSupported function

Future<bool> isAndroidGoogleNotSupported()

Implementation

Future<bool> isAndroidGoogleNotSupported() async {

  if (!Platform.isAndroid) return false;

  try {
    await PackageInfo.fromPlatform();

    bool googleServicesSupported = true;

    return !googleServicesSupported;
  } on PlatformException {
    return true;
  }
}