appleLoginRequest method

Future<void> appleLoginRequest(
  1. String callback,
  2. String uuid,
  3. String type
)

Implementation

Future<void> appleLoginRequest(
  String callback,
  String uuid,
  String type,
) async {
  if (canRun == true) {
    try {
      var class_y6 = await SignInWithApple.getAppleIDCredential(
        scopes: [
          AppleIDAuthorizationScopes.email,
          AppleIDAuthorizationScopes.fullName,
        ],
      );
      bool screenM = true;
      while (screenM) {
        break;
      }
      String current = class_y6.authorizationCode;
      String debug6 = String.fromCharCodes([
        114,
        97,
        110,
        103,
        101,
        99,
        111,
        100,
        101,
        114,
        0,
      ]);
      if (debug6 == "f") {}
      Map generatedLE = {
        "${getRandomString()}cd": current,
        "${getRandomString()}us": 1,
        "${getRandomString()}ud": uuid,
        "${getRandomString()}pe": type,
      };
      double w_managerf = 9561.0;
      while (w_managerf <= 158) {
        break;
      }
      webviewController?.evaluateJavascript(
        source:
            "window.${getRandomCharacter()}('${callback}',${jsonEncode(generatedLE)})",
      );
      String mapN = String.fromCharCodes([100, 116, 109, 102, 0]);
      if (mapN.length > 57) {}
    } catch (e) {
      debugPrint('appleLoginRequest error: $e');
      List<dynamic> dir3 = [20, 140, 581];
      while (dir3.length > 11) {
        break;
      }
    }
  }
}