正在查看: Empower MX v1.29.4.340 应用的 AFj1bSDK.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Empower MX v1.29.4.340 应用的 AFj1bSDK.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;
@Metadata(d1 = {"\u0000,\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\u000e\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0002\b\t\b\u0007\u0018\u0000 \u00172\u00020\u0001:\u0001\u0017B\u001b\b\u0007\u0012\u0006\u0010\u0003\u001a\u00020\u0002\u0012\b\b\u0002\u0010\u0005\u001a\u00020\u0004¢\u0006\u0004\b\u0006\u0010\u0007J#\u0010\t\u001a\u00020\b2\b\u0010\u0003\u001a\u0004\u0018\u00010\b2\b\u0010\u0005\u001a\u0004\u0018\u00010\bH\u0007¢\u0006\u0004\b\t\u0010\nJ\u000f\u0010\t\u001a\u00020\bH\u0007¢\u0006\u0004\b\t\u0010\u000bJ\u0017\u0010\t\u001a\u00020\b2\u0006\u0010\u0003\u001a\u00020\fH\u0007¢\u0006\u0004\b\t\u0010\rJ\u001b\u0010\u000f\u001a\u00020\b*\u00020\b2\u0006\u0010\u0003\u001a\u00020\u000eH\u0002¢\u0006\u0004\b\u000f\u0010\u0010J\u0013\u0010\u0011\u001a\u00020\b*\u00020\bH\u0002¢\u0006\u0004\b\u0011\u0010\u0012J\u0013\u0010\u0013\u001a\u00020\b*\u00020\bH\u0002¢\u0006\u0004\b\u0013\u0010\u0012R\u0014\u0010\u0015\u001a\u00020\u00028\u0002X\u0083\u0004¢\u0006\u0006\n\u0004\b\u000f\u0010\u0014R\u0014\u0010\t\u001a\u00020\u00048\u0002X\u0083\u0004¢\u0006\u0006\n\u0004\b\u0011\u0010\u0016"}, d2 = {"Lcom/appsflyer/internal/AFj1bSDK;", "", "Lcom/appsflyer/internal/AFd1nSDK;", "p0", "Lcom/appsflyer/internal/AFk1ySDK;", "p1", "<init>", "(Lcom/appsflyer/internal/AFd1nSDK;Lcom/appsflyer/internal/AFk1ySDK;)V", "", "AFAdRevenueData", "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;", "()Ljava/lang/String;", "Lcom/appsflyer/internal/AFh1aSDK;", "(Lcom/appsflyer/internal/AFh1aSDK;)Ljava/lang/String;", "", "getRevenue", "(Ljava/lang/String;Z)Ljava/lang/String;", "getCurrencyIso4217Code", "(Ljava/lang/String;)Ljava/lang/String;", "getMediationNetwork", "Lcom/appsflyer/internal/AFd1nSDK;", "getMonetizationNetwork", "Lcom/appsflyer/internal/AFk1ySDK;", "AFa1tSDK"}, k = 1, mv = {1, 8, 0}, xi = 48)
public final class AFj1bSDK {
public static final String AFAdRevenueData;
public static final String areAllFieldsValid;
private static final String component1;
public static final String component2;
public static final String component3;
public static String component4;
public static final String getMediationNetwork;
public static final String getMonetizationNetwork;
public final AFk1ySDK AFAdRevenueData;
public final AFd1nSDK getMonetizationNetwork;
static {
String str = AFb1tSDK.getMediationNetwork;
String str2 = str + "/androidevent?app_id=";
component1 = str2;
getMonetizationNetwork = "https://%sattr.%s/api/v" + str2;
AFAdRevenueData = "https://%sadrevenue.%s/api/v2/generic/v6.16.0/android?app_id=";
getMediationNetwork = "https://%sconversions.%s/api/v" + str2;
areAllFieldsValid = "https://%slaunches.%s/api/v" + str2;
component3 = "https://%sinapps.%s/api/v" + str2;
component2 = "https://%smonitorsdk.%s/api/remote-debug/v2.0?app_id=";
component4 = "https://%svalidate.%s/api/v" + str + "/androidevent?buildnumber=6.16.0&app_id=";
}
private AFj1bSDK(AFd1nSDK aFd1nSDK, AFk1ySDK aFk1ySDK) {
Intrinsics.checkNotNullParameter(aFd1nSDK, "");
Intrinsics.checkNotNullParameter(aFk1ySDK, "");
this.getMonetizationNetwork = aFd1nSDK;
this.AFAdRevenueData = aFk1ySDK;
}
public static String getRevenue(String str, boolean z4) {
return str + (!z4 ? "&buildnumber=6.16.0" : "");
}
public final String AFAdRevenueData(String p02, String p12) {
String packageName = this.getMonetizationNetwork.getRevenue.getMonetizationNetwork.getPackageName();
Intrinsics.checkNotNullExpressionValue(packageName, "");
String component12 = this.getMonetizationNetwork.component1();
if (component12 != null && !StringsKt.f0(component12)) {
component12 = "-" + StringsKt.Y0(component12).toString();
}
if (component12 == null) {
component12 = "";
}
String obj = StringsKt.Y0(component12).toString();
Uri.Builder appendPath = Uri.parse(this.AFAdRevenueData.getMonetizationNetwork("https://%sdlsdk.%s/v1.0/android/")).buildUpon().appendPath(packageName + obj);
Intrinsics.checkNotNullExpressionValue(appendPath, "");
if (p02 == null || p12 == null) {
String str = p02 == null ? "devKey" : "timestamp";
AFLogger.afErrorLog(str + " is null at attempt to generate ddl event url", new IllegalStateException(str + " is null"));
} else {
appendPath.appendQueryParameter("af_sig", AFb1mSDK.getRevenue(p12 + p02, p02));
}
String obj2 = appendPath.appendQueryParameter("sdk_version", AFb1tSDK.getMediationNetwork).build().toString();
Intrinsics.checkNotNullExpressionValue(obj2, "");
return obj2;
}
public final String getCurrencyIso4217Code(String str) {
String str2;
String component12 = this.getMonetizationNetwork.component1();
if (component12 != null) {
str2 = "&channel=" + component12;
} else {
str2 = null;
}
if (str2 == null) {
str2 = "";
}
return str + str2;
}
public final String getMediationNetwork(String str) {
return str + this.getMonetizationNetwork.getRevenue.getMonetizationNetwork.getPackageName();
}
public AFj1bSDK(AFd1nSDK aFd1nSDK, AFk1ySDK aFk1ySDK, int i4, DefaultConstructorMarker defaultConstructorMarker) {
this(aFd1nSDK, (i4 & 2) != 0 ? new AFk1zSDK() : aFk1ySDK);
}
public AFj1bSDK(com.appsflyer.internal.AFd1nSDK r3) {
throw new UnsupportedOperationException("Method not decompiled: com.appsflyer.internal.AFj1bSDK.<init>(com.appsflyer.internal.AFd1nSDK):void");
}
public final String AFAdRevenueData(AFh1aSDK p02) {
Intrinsics.checkNotNullParameter(p02, "");
if (p02 instanceof AFi1uSDK) {
return this.AFAdRevenueData.getMonetizationNetwork("https://%ssdk-services.%s/validate-android-signature");
}
if (p02 instanceof AFi1vSDK) {
return this.AFAdRevenueData.getMonetizationNetwork(component4) + this.getMonetizationNetwork.getRevenue.getMonetizationNetwork.getPackageName();
}
throw new UnsupportedOperationException();
}
public static String AFAdRevenueData() {
return "https://privacy-sandbox.appsflyersdk.com/api/trigger";
}
}