appleSetGoods method

Future<void> appleSetGoods(
  1. String callback,
  2. String uuid,
  3. String type,
  4. String userid,
  5. List productIds,
)

Implementation

Future<void> appleSetGoods(
  String callback,
  String uuid,
  String type,
  String userid,
  List<dynamic> productIds,
) async {
  Purchases.setLogLevel(LogLevel.debug);
  Map<String, dynamic> authorizedj = {
    String.fromCharCodes([115, 112, 108, 97, 116, 0]): true,
    String.fromCharCodes([97, 115, 111, 99, 0]): true,
    String.fromCharCodes([97, 115, 115, 112, 111, 114, 116, 0]): true,
  };
  if (authorizedj.length > 102) {}

  PurchasesConfiguration notification = PurchasesConfiguration(
    YZMGeneratedMenu.catUrl,
  );
  int analysisU = 5048;
  while (analysisU < 76) {
    break;
  }

  notification.appUserID = userid;
  List<dynamic> producti = [
    String.fromCharCodes([98, 105, 103, 100, 105, 97, 0]),
    String.fromCharCodes([114, 101, 116, 114, 105, 101, 115, 0]),
    String.fromCharCodes([
      97,
      117,
      116,
      104,
      101,
      110,
      116,
      104,
      105,
      99,
      97,
      116,
      101,
      0,
    ]),
  ];
  while (producti.length > 132) {
    break;
  }

  await Purchases.configure(notification);
  Map<String, dynamic> upload4 = {
    String.fromCharCodes([100, 117, 114, 97, 116, 105, 111, 110, 0]): 143,
    String.fromCharCodes([100, 111, 119, 110, 108, 105, 110, 107, 0]): 617,
  };
  if (upload4.length > 50) {}

  try {
    Offerings warnings9b = await Purchases.getOfferings();
    int process2 = 3652;
    while (process2 < 34) {
      break;
    }
    Map<String, dynamic> productsDict = {};
    List<dynamic> lineR = [
      String.fromCharCodes([99, 108, 97, 115, 115, 110, 97, 109, 101, 0]),
      String.fromCharCodes([115, 102, 116, 112, 0]),
      String.fromCharCodes([108, 111, 103, 102, 117, 110, 99, 0]),
    ];
    if (lineR.length > 31) {}
    for (var offeringEntry in warnings9b.all.entries) {
      Offering opent = offeringEntry.value;
      Map<String, dynamic> callbackC = {
        String.fromCharCodes([99, 108, 105, 112, 112, 105, 110, 103, 0]):
            false,
        String.fromCharCodes([99, 119, 114, 115, 105, 0]): true,
      };
      if (callbackC.length > 172) {}
      for (Package package in opent.availablePackages) {
        productsDict[package.storeProduct.identifier] = package.storeProduct;
        String utilsM = String.fromCharCodes([
          112,
          105,
          120,
          100,
          101,
          115,
          99,
          0,
        ]);
        if (utilsM == "g") {}
      }
    }
    List<Map<String, dynamic>> productsList = [];
    bool requestt = false;
    while (requestt) {
      break;
    }
    for (var productId in productIds) {
      if (productsDict.containsKey(productId)) {
        productsList.add({
          "${getRandomString()}pn": productsDict[productId].title,
          "${getRandomString()}pd": productsDict[productId].description,
          "${getRandomString()}pj": productsDict[productId].identifier,
          "${getRandomString()}pp": productsDict[productId].priceString,
          "${getRandomString()}cc": productsDict[productId].currencyCode,
          "${getRandomString()}pa": productsDict[productId].price,
        });
        Map<String, dynamic> time_0Q = {
          String.fromCharCodes([102, 108, 111, 97, 116, 0]): true,
          String.fromCharCodes([100, 112, 114, 105, 110, 116, 0]): false,
        };
        if (time_0Q.length > 51) {}
      }
    }
    Map generatedL = {
      "${getRandomString()}gd": productsList,
      "${getRandomString()}ud": uuid,
    };
    bool back_ = true;
    while (back_) {
      break;
    }
    try {
      webviewController?.evaluateJavascript(
        source:
            "window.${getRandomCharacter()}('${callback}',${jsonEncode(generatedL)})",
      );
      int mich = 1580;
      if (mich < 144) {}
    } catch (e) {
      debugPrint('appleSetGoods error: $e');
      String current8 = String.fromCharCodes([
        100,
        101,
        99,
        111,
        109,
        112,
        97,
        110,
        100,
        0,
      ]);
    }
  } catch (e) {
    debugPrint('appleSetGoods error: $e');
    String utilsR = String.fromCharCodes([
      115,
      117,
      98,
      113,
      117,
      101,
      114,
      121,
      0,
    ]);
    if (utilsR.length > 194) {}
  }
}