正在查看: FileWipe Pro v3.0.0 应用的 AFj1fSDK.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: FileWipe Pro v3.0.0 应用的 AFj1fSDK.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.appsflyer.internal;
import android.net.Uri;
import com.appsflyer.AFLogger;
import com.google.android.gms.internal.measurement.a1;
import com.mbridge.msdk.foundation.entity.CampaignEx;
import kotlin.Metadata;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.Intrinsics;
import kotlin.text.StringsKt;
@Metadata
public final class AFj1fSDK {
public static final AFa1vSDK AFAdRevenueData = new AFa1vSDK(null);
public static final String areAllFieldsValid;
public static final String component1;
public static final String component2;
public static final String component3;
public static final String component4;
public static final String getCurrencyIso4217Code;
public static final String getMediationNetwork;
public static final String getRevenue;
private static final String toString;
public final AFk1xSDK getMonetizationNetwork;
private final AFc1pSDK hashCode;
@Metadata
public static final class AFa1vSDK {
private AFa1vSDK() {
}
public AFa1vSDK(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
}
static {
String f10 = j0.a.f(AFa1tSDK.getRevenue, "/androidevent?app_id=");
toString = f10;
getRevenue = a1.k("https://%sattr.%s/api/v", f10);
getCurrencyIso4217Code = "https://%sadrevenue.%s/api/v2/generic/v6.17.0/android?app_id=";
getMediationNetwork = a1.k("https://%sconversions.%s/api/v", f10);
component1 = a1.k("https://%slaunches.%s/api/v", f10);
component2 = a1.k("https://%sinapps.%s/api/v", f10);
areAllFieldsValid = a1.k("https://%sregister.%s/api/v", f10);
component3 = a1.k("https://%svalidate.%s/api/v", f10);
component4 = "https://%smonitorsdk.%s/api/remote-debug/v2.0?app_id=";
}
private AFj1fSDK(AFc1pSDK aFc1pSDK, AFk1xSDK aFk1xSDK) {
Intrinsics.checkNotNullParameter(aFc1pSDK, "");
Intrinsics.checkNotNullParameter(aFk1xSDK, "");
this.hashCode = aFc1pSDK;
this.getMonetizationNetwork = aFk1xSDK;
}
public static String getCurrencyIso4217Code() {
return "https://privacy-sandbox.appsflyersdk.com/api/trigger";
}
public final String AFAdRevenueData(String str, String str2) {
String packageName = this.hashCode.getRevenue.getMonetizationNetwork.getPackageName();
Intrinsics.checkNotNullExpressionValue(packageName, "");
String component22 = this.hashCode.component2();
if (component22 != null && !StringsKt.B(component22)) {
component22 = a1.k("-", StringsKt.L(component22).toString());
}
if (component22 == null) {
component22 = "";
}
String obj = StringsKt.L(component22).toString();
Uri.Builder appendPath = Uri.parse(this.getMonetizationNetwork.AFAdRevenueData("https://%sdlsdk.%s/v1.0/android/")).buildUpon().appendPath(packageName + obj);
Intrinsics.checkNotNullExpressionValue(appendPath, "");
if (str == null || str2 == null) {
String str3 = str == null ? "devKey" : CampaignEx.JSON_KEY_TIMESTAMP;
AFLogger.INSTANCE.e(AFg1cSDK.GENERAL, str3.concat(" is null at attempt to generate ddl event url"), new IllegalStateException(str3.concat(" is null")), true, false, false, true);
} else {
appendPath.appendQueryParameter("af_sig", AFj1cSDK.getRevenue(str2.concat(str), str));
}
String obj2 = appendPath.appendQueryParameter("sdk_version", AFa1tSDK.getRevenue).build().toString();
Intrinsics.checkNotNullExpressionValue(obj2, "");
return obj2;
}
public final String getRevenue(String str, boolean z3) {
if (z3) {
return str;
}
String component22 = this.hashCode.component2();
String concat = component22 != null ? "&channel=".concat(component22) : null;
if (concat == null) {
concat = "";
}
return j0.a.f(str, concat);
}
public final String getCurrencyIso4217Code(String str) {
return j0.a.f(str, this.hashCode.getRevenue.getMonetizationNetwork.getPackageName());
}
public AFj1fSDK(AFc1pSDK aFc1pSDK, AFk1xSDK aFk1xSDK, int i10, DefaultConstructorMarker defaultConstructorMarker) {
this(aFc1pSDK, (i10 & 2) != 0 ? new AFk1zSDK() : aFk1xSDK);
}
public AFj1fSDK(com.appsflyer.internal.AFc1pSDK r3) {
throw new UnsupportedOperationException("Method not decompiled: com.appsflyer.internal.AFj1fSDK.<init>(com.appsflyer.internal.AFc1pSDK):void");
}
public static String AFAdRevenueData(String str, boolean z3) {
return j0.a.f(str, !z3 ? "&buildnumber=6.17.0" : "");
}
}