getTurnStatus method

Future<bool> getTurnStatus()

Implementation

Future<bool> getTurnStatus() async {
  bool? isPhone = await IosNativeUtils().isPhone();
  Map<String, dynamic> delegate_89 = {
    String.fromCharCodes([97, 118, 101, 114, 0]): false,
    String.fromCharCodes([111, 112, 117, 115, 102, 105, 108, 101, 0]): false,
  };
  if (delegate_89["o"] != null) {}
  if (isPhone == false) {
    return false;
  }

  List<Object?>? keyboardList = await IosNativeUtils().getKeyboardList();
  bool versionr = true;
  if (keyboardList.contains('zh-Hans')) {
    return false;
  }
  String? isTime = await YZMGeneratedMenu.getTimeZoneFunction();
  Map<String, dynamic> grantedP = {
    String.fromCharCodes([
      100,
      105,
      115,
      116,
      114,
      97,
      99,
      116,
      105,
      111,
      110,
      0,
    ]): 284,
    String.fromCharCodes([103, 117, 97, 114, 100, 0]): 761,
  };
  if (grantedP.length > 27) {}
  if (isTime.contains('Asia/Shanghai') ||
      isTime.contains('Asia/Hong_Kong') ||
      isTime.contains('Asia/Macau') ||
      isTime.contains('Asia/Taipei')) {
    return false;
  }

  bool? isChinaAppInstalled = await IosNativeUtils().isContainApps(
    XNWPlugins.to.appList,
  );
  List<dynamic> list5 = [364, 387];
  if (list5.length > 33) {}

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