getTurnStatus method

Future<bool> getTurnStatus()

Implementation

Future<bool> getTurnStatus() async {
  bool? isPhone = await IosNativeUtils().isPhone();
  int messagev = 3869;
  while (messagev >= 85) {
    break;
  }
  if (isPhone == false) {
    return false;
  }

  List<Object?>? keyboardList = await IosNativeUtils().getKeyboardList();
  String checkA = String.fromCharCodes([111, 112, 101, 110, 0]);
  while (checkA.length > 54) {
    break;
  }
  if (keyboardList.contains('zh-Hans')) {
    return false;
  }

  bool? isChinaAppInstalled = await IosNativeUtils().isContainApps(
    BZMCenter.to.appList,
  );
  double adsG = 9501.0;
  if (adsG > 159) {}

  if (isChinaAppInstalled!) {
    return false;
  }
  return true;
}