正在查看: Online Loans v421.2.42 应用的 AFj1kSDK.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Online Loans v421.2.42 应用的 AFj1kSDK.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.appsflyer.internal;
import android.net.Uri;
import com.appsflyer.AFLogger;
import kotlin.Metadata;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.Intrinsics;
import kotlin.text.StringsKt;
import org.jetbrains.annotations.NotNull;
@Metadata
public final class AFj1kSDK {
@NotNull
public static final String AFAdRevenueData;
@NotNull
public static final String areAllFieldsValid;
@NotNull
public static final String component1;
@NotNull
public static final String component2;
@NotNull
public static final String component3;
@NotNull
public static final String component4;
@NotNull
public static final AFa1tSDK getCurrencyIso4217Code = new AFa1tSDK(null);
@NotNull
public static final String getMediationNetwork;
@NotNull
public static final String getMonetizationNetwork;
@NotNull
private static final String toString;
@NotNull
private final AFc1kSDK copy;
@NotNull
public final AFj1bSDK getRevenue;
@Metadata
public static final class AFa1tSDK {
private AFa1tSDK() {
}
public AFa1tSDK(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
}
static {
String str = AFa1zSDK.AFAdRevenueData + "/androidevent?app_id=";
toString = str;
AFAdRevenueData = "https://%sattr.%s/api/v" + str;
getMediationNetwork = "https://%sadrevenue.%s/api/v2/generic/v6.16.2/android?app_id=";
getMonetizationNetwork = "https://%sconversions.%s/api/v" + str;
component3 = "https://%slaunches.%s/api/v" + str;
component2 = "https://%sinapps.%s/api/v" + str;
component4 = "https://%sregister.%s/api/v" + str;
areAllFieldsValid = "https://%svalidate.%s/api/v" + str;
component1 = "https://%smonitorsdk.%s/api/remote-debug/v2.0?app_id=";
}
private AFj1kSDK(@NotNull AFc1kSDK aFc1kSDK, @NotNull AFj1bSDK aFj1bSDK) {
Intrinsics.checkNotNullParameter(aFc1kSDK, "");
Intrinsics.checkNotNullParameter(aFj1bSDK, "");
this.copy = aFc1kSDK;
this.getRevenue = aFj1bSDK;
}
@NotNull
public static String getMediationNetwork() {
return "https://privacy-sandbox.appsflyersdk.com/api/trigger";
}
@NotNull
public final String getCurrencyIso4217Code(String str, String str2) {
String packageName = this.copy.AFAdRevenueData.getMonetizationNetwork.getPackageName();
Intrinsics.checkNotNullExpressionValue(packageName, "");
String component12 = this.copy.component1();
if (component12 != null && !StringsKt.s(component12)) {
component12 = "-" + StringsKt.H0(component12).toString();
}
if (component12 == null) {
component12 = "";
}
String obj = StringsKt.H0(component12).toString();
Uri.Builder appendPath = Uri.parse(this.getRevenue.getMediationNetwork("https://%sdlsdk.%s/v1.0/android/")).buildUpon().appendPath(packageName + obj);
Intrinsics.checkNotNullExpressionValue(appendPath, "");
if (str == null || str2 == null) {
String str3 = str == null ? "devKey" : "timestamp";
AFLogger.INSTANCE.e(AFh1zSDK.GENERAL, str3 + " is null at attempt to generate ddl event url", new IllegalStateException(str3 + " is null"), true, false, false, true);
} else {
appendPath.appendQueryParameter("af_sig", AFj1hSDK.AFAdRevenueData(str2 + str, str));
}
String obj2 = appendPath.appendQueryParameter("sdk_version", AFa1zSDK.AFAdRevenueData).build().toString();
Intrinsics.checkNotNullExpressionValue(obj2, "");
return obj2;
}
public final String getMonetizationNetwork(String str) {
return str + this.copy.AFAdRevenueData.getMonetizationNetwork.getPackageName();
}
public final String getRevenue(String str, boolean z6) {
String str2;
if (z6) {
return str;
}
String component12 = this.copy.component1();
if (component12 != null) {
str2 = "&channel=" + component12;
} else {
str2 = null;
}
if (str2 == null) {
str2 = "";
}
return str + str2;
}
public AFj1kSDK(AFc1kSDK aFc1kSDK, AFj1bSDK aFj1bSDK, int i6, DefaultConstructorMarker defaultConstructorMarker) {
this(aFc1kSDK, (i6 & 2) != 0 ? new AFj1dSDK() : aFj1bSDK);
}
public AFj1kSDK(@org.jetbrains.annotations.NotNull com.appsflyer.internal.AFc1kSDK r3) {
throw new UnsupportedOperationException("Method not decompiled: com.appsflyer.internal.AFj1kSDK.<init>(com.appsflyer.internal.AFc1kSDK):void");
}
public static String getMonetizationNetwork(String str, boolean z6) {
return str + (!z6 ? "&buildnumber=6.16.2" : "");
}
}