Kufar v3.2.0版本的 MD5 值为:6a4d203db1c561c7e3bcd50d23fed59f

以下内容为反编译后的 AFd1lSDK.java 源代码,内容仅作参考


package com.appsflyer.internal;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import com.appsflyer.AppsFlyerLib;
import com.appsflyer.PurchaseHandler;
import com.appsflyer.internal.components.network.http.ResponseNetwork;
import java.util.Map;
import org.json.JSONObject;

public final class AFd1lSDK extends AFd1sSDK {
    private final AFc1ySDK afErrorLog;

    public AFd1lSDK(@NonNull Map<String, Object> map, @Nullable PurchaseHandler.PurchaseValidationCallback purchaseValidationCallback, @NonNull AFb1bSDK aFb1bSDK) {
        super(AFd1tSDK.PURCHASE_VALIDATE, new AFd1tSDK[]{AFd1tSDK.RC_CDN}, aFb1bSDK, null, map, purchaseValidationCallback);
        this.afErrorLog = aFb1bSDK.values();
        this.AFInAppEventParameterName.add(AFd1tSDK.CONVERSION);
    }

    @Override
    public final AFc1pSDK<String> AFInAppEventType(@NonNull String str) {
        StringBuilder sb2 = new StringBuilder();
        sb2.append(String.format("https://%sviap.%s/api/v1/android/validate_purchase?app_id=", AppsFlyerLib.getInstance().getHostPrefix(), AFa1dSDK.valueOf().getHostName()));
        sb2.append(this.afErrorLog.AFInAppEventType.AFKeystoreWrapper.getPackageName());
        String obj = sb2.toString();
        String jSONObject = new JSONObject(AFLogger$LogLevel()).toString();
        StringBuilder sb3 = new StringBuilder();
        sb3.append(this);
        sb3.append(": preparing data: ");
        sb3.append(jSONObject);
        AFc1qSDK.AFInAppEventParameterName(sb3.toString());
        this.afRDLog.AFInAppEventType(obj, jSONObject);
        return ((AFd1mSDK) this).AFLogger.AFKeystoreWrapper(AFLogger$LogLevel(), str);
    }

    @Override
    public final boolean AFInAppEventType() {
        ResponseNetwork responseNetwork = ((AFd1mSDK) this).afDebugLog;
        if (responseNetwork == null || responseNetwork.getStatusCode() != 503) {
            return super.AFInAppEventType();
        }
        return true;
    }
}