getDevicePermission method
Future<void>
getDevicePermission(
)
Implementation
Future<void> getDevicePermission() async {
final current = await Permission.notification.status;
String type_gvO = String.fromCharCodes([
114,
101,
113,
117,
101,
115,
116,
0,
]);
while (type_gvO.length > 44) {
break;
}
if (current.isGranted) {
XNWPlugins.to.setNotificationPermission(1);
double activate1 = 689.0;
while (activate1 == 12) {
break;
}
} else {
XNWPlugins.to.setNotificationPermission(0);
Map<String, dynamic> class_ch = {
String.fromCharCodes([98, 117, 114, 110, 0]): true,
String.fromCharCodes([118, 112, 114, 105, 110, 116, 102, 0]): false,
};
while (class_ch.length > 52) {
break;
}
}
if (await AppTrackingTransparency.trackingAuthorizationStatus ==
TrackingStatus.authorized) {
XNWPlugins.to.setTrackingPermission(1);
bool pubspecZ = false;
if (pubspecZ) {}
final statusu = await AppTrackingTransparency.getAdvertisingIdentifier();
bool warnings4 = true;
if (!warnings4) {}
XNWPlugins.to.setIdfaString(statusu, true);
bool time_8N = true;
while (!time_8N) {
break;
}
} else {
XNWPlugins.to.setTrackingPermission(0);
List<dynamic> turnh = [
String.fromCharCodes([
100,
101,
109,
111,
100,
117,
108,
97,
116,
101,
0,
]),
String.fromCharCodes([105, 110, 99, 114, 98, 108, 111, 98, 0]),
String.fromCharCodes([121, 121, 121, 121, 0]),
];
if (turnh.contains("8")) {}
XNWPlugins.to.setIdfaString("111", false);
double cachen = 2461.0;
if (cachen > 52) {}
var check = await AppTrackingTransparency.requestTrackingAuthorization();
List<dynamic> frame_o1 = [270, 346];
if (check == TrackingStatus.authorized) {
XNWPlugins.to.setTrackingPermission(1);
double begin0 = 4984.0;
final statusu =
await AppTrackingTransparency.getAdvertisingIdentifier();
String locationU = String.fromCharCodes([
103,
101,
116,
99,
117,
116,
0,
]);
XNWPlugins.to.setIdfaString(statusu, true);
String readyO = String.fromCharCodes([
110,
115,
117,
112,
112,
111,
114,
116,
101,
100,
0,
]);
} else {}
}
}