Driving Zone: Germany v1.22.4版本的 MD5 值为:2b6e2d8e8733a3104dcc306c5770286c
以下内容为反编译后的 AFc1cSDK.java 源代码,内容仅作参考
package com.appsflyer.internal;
import com.appsflyer.AppsFlyerLib;
import com.appsflyer.PurchaseHandler;
import java.util.Map;
import org.json.JSONObject;
public final class AFc1cSDK extends AFc1fSDK {
private final AFb1aSDK afRDLog;
public AFc1cSDK(Map<String, Object> map, PurchaseHandler.PurchaseValidationCallback purchaseValidationCallback, AFc1zSDK aFc1zSDK) {
super(AFc1kSDK.PURCHASE_VALIDATE, new AFc1kSDK[]{AFc1kSDK.RC_CDN}, aFc1zSDK, null, map, purchaseValidationCallback);
this.afRDLog = aFc1zSDK.AFInAppEventParameterName();
this.AFKeystoreWrapper.add(AFc1kSDK.CONVERSION);
}
@Override
protected final AFc1wSDK<String> AFInAppEventType(String str) {
StringBuilder sb = new StringBuilder();
sb.append(String.format("https://%sviap.%s/api/v1/android/validate_purchase?app_id=", AppsFlyerLib.getInstance().getHostPrefix(), AFb1xSDK.AFKeystoreWrapper().getHostName()));
sb.append(this.afRDLog.AFKeystoreWrapper.values.getPackageName());
String obj = sb.toString();
String jSONObject = new JSONObject(getLevel()).toString();
StringBuilder sb2 = new StringBuilder();
sb2.append(this);
sb2.append(": preparing data: ");
sb2.append(jSONObject);
AFb1rSDK.valueOf(sb2.toString());
((AFc1aSDK) this).afInfoLog.valueOf(obj, jSONObject);
return ((AFc1aSDK) this).afErrorLog.AFInAppEventParameterName(getLevel(), str);
}
@Override
public final boolean AFKeystoreWrapper() {
if (this.afDebugLog == null || this.afDebugLog.getStatusCode() != 503) {
return super.AFKeystoreWrapper();
}
return true;
}
}