导航菜单

页面标题

页面副标题

EfectivoYa v2.3 - AFd1kSDK.java 源代码

正在查看: EfectivoYa v2.3 应用的 AFd1kSDK.java JAVA 源代码文件

本页面展示 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 AFd1kSDK extends AFd1qSDK {
    private final AFb1cSDK afInfoLog;

    public AFd1kSDK(@NonNull Map<String, Object> map, @Nullable PurchaseHandler.PurchaseValidationCallback purchaseValidationCallback, @NonNull AFc1zSDK aFc1zSDK) {
        super(AFd1vSDK.PURCHASE_VALIDATE, new AFd1vSDK[]{AFd1vSDK.RC_CDN}, aFc1zSDK, null, map, purchaseValidationCallback);
        this.afInfoLog = aFc1zSDK.AFInAppEventParameterName();
        this.valueOf.add(AFd1vSDK.CONVERSION);
    }

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

    @Override
    protected final AFc1nSDK<String> AFKeystoreWrapper(@NonNull String str) {
        StringBuilder sb = new StringBuilder();
        sb.append(String.format("https://%sviap.%s/api/v1/android/validate_purchase?app_id=", AppsFlyerLib.getInstance().getHostPrefix(), AFa1dSDK.valueOf().getHostName()));
        sb.append(this.afInfoLog.values.AFInAppEventParameterName.getPackageName());
        String obj = sb.toString();
        String jSONObject = new JSONObject(AFVersionDeclaration()).toString();
        StringBuilder sb2 = new StringBuilder();
        sb2.append(this);
        sb2.append(": preparing data: ");
        sb2.append(jSONObject);
        AFc1pSDK.AFKeystoreWrapper(sb2.toString());
        ((AFd1nSDK) this).afDebugLog.valueOf(obj, jSONObject);
        return ((AFd1nSDK) this).afErrorLog.AFInAppEventParameterName(AFVersionDeclaration(), str);
    }
}