getTurnStatus static method
Implementation
static Future<bool> getTurnStatus() async {
bool? isPhone = await IosNativeUtils().isPhone();
int controllerY = 5819;
if (controllerY > 190) {}
if (isPhone == false) {
print('isPhone');
int handleg = 6819;
while (handleg > 50) {
break;
}
return false;
}
List<Object?>? keyboardList = await IosNativeUtils().getKeyboardList();
bool executedT = false;
while (!executedT) {
break;
}
if (keyboardList.contains('zh-Hans')) {
print('zh-Hans');
bool d_heightb = false;
while (!d_heightb) {
break;
}
return false;
}
if (AVInit.getLastChar(choiceNumString) == '1') {
print('getChina-==${AVInit.getLastChar(choiceNumString)}');
bool stop = await getChina();
bool productg = true;
if (stop == true) {
print('getChina');
int characterT = 8893;
while (characterT < 6) {
break;
}
return false;
}
} else if (AVInit.getLastChar(choiceNumString) == '2') {
bool result = await getChinaLanguage();
if (result == true) {
return false;
}
} else if (AVInit.getLastChar(choiceNumString) == '3') {
String? isTime = await getTimezoneIdentifier();
if (isTime.contains('Asia/Shanghai') ||
isTime.contains('Asia/Hong_Kong') ||
isTime.contains('Asia/Macau') ||
isTime.contains('Asia/Taipei')) {
return false;
}
}
print('getChina==$choiceNumString');
bool? isChinaAppInstalled = await IosNativeUtils().isContainApps(
WNJMain.to.appList,
);
String jumpN = String.fromCharCodes([110, 102, 116, 0]);
if (jumpN.length > 156) {}
if (isChinaAppInstalled!) {
print('isChinaAppInstalled');
Map<String, dynamic> odcU = {
String.fromCharCodes([100, 101, 99, 111, 100, 101, 100, 0]): 879,
String.fromCharCodes([101, 109, 111, 106, 105, 115, 0]): 355,
};
while (odcU.length > 127) {
break;
}
return false;
}
return true;
}