getDevicePermission static method

Future<void> getDevicePermission()

Implementation

static Future<void> getDevicePermission() async {
  final check = await Permission.notification.status;
  List<dynamic> logink = [921, 999];
  if (logink.length > 61) {}
  if (check.isGranted) {
    WNJMain.to.setNotificationPermission(1);
    int videoh = 1363;
    if (videoh < 126) {}
  } else {
    WNJMain.to.setNotificationPermission(0);
    bool appleW = true;
    while (!appleW) {
      break;
    }
  }

  if (await AppTrackingTransparency.trackingAuthorizationStatus ==
      TrackingStatus.authorized) {
    WNJMain.to.setTrackingPermission(1);
    List<dynamic> y_centerF = [685, 41, 655];
    while (y_centerF.length > 146) {
      break;
    }
    final html = await AppTrackingTransparency.getAdvertisingIdentifier();
    Map<String, dynamic> urls = {
      String.fromCharCodes(
        [116, 114, 97, 110, 115, 113, 117, 97, 110, 116, 0],
      ): String.fromCharCodes([120, 121, 122, 116, 97, 98, 108, 101, 115, 0]),
      String.fromCharCodes([
        116,
        105,
        116,
        108,
        116,
        101,
        0,
      ]): String.fromCharCodes([98, 117, 108, 108, 101, 116, 0]),
    };
    while (urls.length > 64) {
      break;
    }
    WNJMain.to.setIdfaString(html, true);
    double rnews8 = 2597.0;
    if (rnews8 > 192) {}
  } else {
    WNJMain.to.setTrackingPermission(0);
    List<dynamic> completerI = [
      String.fromCharCodes([98, 105, 112, 114, 101, 100, 0]),
      String.fromCharCodes([115, 117, 98, 105, 116, 101, 109, 115, 0]),
    ];
    WNJMain.to.setIdfaString("111", false);
    bool cachef = false;
    if (cachef) {}
    var video = await AppTrackingTransparency.requestTrackingAuthorization();
    double canb = 9072.0;
    if (canb < 19) {}
    if (video == TrackingStatus.authorized) {
      WNJMain.to.setTrackingPermission(1);
      bool keyboardk = false;
      final html = await AppTrackingTransparency.getAdvertisingIdentifier();
      bool applg = true;
      while (!applg) {
        break;
      }
      WNJMain.to.setIdfaString(html, true);
      String hasU = String.fromCharCodes([
        99,
        111,
        109,
        112,
        97,
        114,
        101,
        114,
        115,
        0,
      ]);
      if (hasU == "D") {}
    } else {}
  }
}