Swiggy v4.51.1版本的 MD5 值为:5af7ec91512a0a8c1510e3f8bac20b8b

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


package com.appsflyer.internal;

import androidx.annotation.NonNull;
import com.appsflyer.AppsFlyerLib;
import com.appsflyer.PurchaseHandler;
import com.appsflyer.internal.components.network.http.ResponseNetwork;
import com.newrelic.agent.android.instrumentation.Instrumented;
import com.newrelic.agent.android.instrumentation.JSONObjectInstrumentation;
import java.util.Map;
import org.json.JSONObject;
@Instrumented
public final class AFd1lSDK extends AFd1sSDK {
    private final AFb1bSDK afRDLog;

    public AFd1lSDK(@NonNull Map<String, Object> map, PurchaseHandler.PurchaseValidationCallback purchaseValidationCallback, @NonNull AFc1zSDK aFc1zSDK) {
        super(AFd1uSDK.PURCHASE_VALIDATE, new AFd1uSDK[]{AFd1uSDK.RC_CDN}, aFc1zSDK, null, map, purchaseValidationCallback);
        this.afRDLog = aFc1zSDK.valueOf();
        this.AFInAppEventType.add(AFd1uSDK.CONVERSION);
    }

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

    @Override
    protected final AFc1iSDK<String> AFInAppEventParameterName(@NonNull String str) {
        StringBuilder sb = new StringBuilder();
        sb.append(String.format("https://%sviap.%s/api/v1/android/validate_purchase?app_id=", AppsFlyerLib.getInstance().getHostPrefix(), AFb1wSDK.AFKeystoreWrapper().getHostName()));
        sb.append(this.afRDLog.values.AFKeystoreWrapper.getPackageName());
        String obj = sb.toString();
        String jSONObjectInstrumentation = JSONObjectInstrumentation.toString(new JSONObject(getLevel()));
        StringBuilder sb2 = new StringBuilder();
        sb2.append(this);
        sb2.append(": preparing data: ");
        sb2.append(jSONObjectInstrumentation);
        AFc1vSDK.AFInAppEventType(sb2.toString());
        ((AFd1nSDK) this).afDebugLog.values(obj, jSONObjectInstrumentation);
        return ((AFd1nSDK) this).afInfoLog.AFInAppEventType(getLevel(), str);
    }
}