正在查看: CashVia v1.6.02 应用的 AFj1uSDK.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: CashVia v1.6.02 应用的 AFj1uSDK.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.appsflyer.internal;
import android.net.Uri;
import androidx.constraintlayout.widget.ConstraintLayout;
import com.appsflyer.AFLogger;
import kotlin.Metadata;
import kotlin.jvm.JvmField;
import kotlin.jvm.JvmOverloads;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.Intrinsics;
import org.jetbrains.annotations.NotNull;
@Metadata(d1 = {"\u00006\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0010\u000e\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\u000b\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0004\u0018\u0000 \u00182\u00020\u0001:\u0001\u0018B\u001b\b\u0007\u0012\u0006\u0010\u0006\u001a\u00020\u0012\u0012\b\b\u0002\u0010\u000f\u001a\u00020\u0014¢\u0006\u0004\b\u0016\u0010\u0017J\u000f\u0010\u0003\u001a\u00020\u0002H\u0002¢\u0006\u0004\b\u0003\u0010\u0004J\u0017\u0010\u0007\u001a\u00020\u00022\u0006\u0010\u0006\u001a\u00020\u0005H\u0007¢\u0006\u0004\b\u0007\u0010\bJ\u001b\u0010\n\u001a\u00020\u0002*\u00020\u00022\u0006\u0010\u0006\u001a\u00020\tH\u0002¢\u0006\u0004\b\n\u0010\u000bJ\u0013\u0010\f\u001a\u00020\u0002*\u00020\u0002H\u0002¢\u0006\u0004\b\f\u0010\rJ'\u0010\u0010\u001a\u00020\u000e*\u00020\u000e2\b\u0010\u0006\u001a\u0004\u0018\u00010\u00022\b\u0010\u000f\u001a\u0004\u0018\u00010\u0002H\u0002¢\u0006\u0004\b\u0010\u0010\u0011R\u0014\u0010\u0007\u001a\u00020\u00128\u0002X\u0083\u0004¢\u0006\u0006\n\u0004\b\f\u0010\u0013R\u0014\u0010\u0003\u001a\u00020\u00148\u0002X\u0083\u0004¢\u0006\u0006\n\u0004\b\u0007\u0010\u0015"}, d2 = {"Lcom/appsflyer/internal/AFj1uSDK;", "", "", "AFInAppEventParameterName", "()Ljava/lang/String;", "Lcom/appsflyer/internal/AFh1jSDK;", "p0", "AFKeystoreWrapper", "(Lcom/appsflyer/internal/AFh1jSDK;)Ljava/lang/String;", "", "AFInAppEventType", "(Ljava/lang/String;Z)Ljava/lang/String;", "values", "(Ljava/lang/String;)Ljava/lang/String;", "Landroid/net/Uri$Builder;", "p1", "valueOf", "(Landroid/net/Uri$Builder;Ljava/lang/String;Ljava/lang/String;)Landroid/net/Uri$Builder;", "Lcom/appsflyer/internal/AFd1sSDK;", "Lcom/appsflyer/internal/AFd1sSDK;", "Lcom/appsflyer/internal/AFj1rSDK;", "Lcom/appsflyer/internal/AFj1rSDK;", "<init>", "(Lcom/appsflyer/internal/AFd1sSDK;Lcom/appsflyer/internal/AFj1rSDK;)V", "AFa1ySDK"}, k = 1, mv = {1, 6, 0}, xi = ConstraintLayout.LayoutParams.Table.LAYOUT_CONSTRAINT_VERTICAL_CHAINSTYLE)
public final class AFj1uSDK {
@JvmField
@NotNull
public static final String AFInAppEventParameterName;
@JvmField
@NotNull
public static final String AFInAppEventType;
@JvmField
@NotNull
public static String AFLogger;
@NotNull
private static final String afInfoLog;
@JvmField
@NotNull
public static final String f1848d;
@JvmField
@NotNull
public static final String f1849e;
@JvmField
@NotNull
public static final String registerClient;
@JvmField
@NotNull
public static final String unregisterClient;
@JvmField
@NotNull
public static final String valueOf;
@NotNull
public final AFj1rSDK AFInAppEventParameterName;
@NotNull
public final AFd1sSDK AFKeystoreWrapper;
static {
StringBuilder sb = new StringBuilder();
String str = AFb1rSDK.valueOf;
sb.append(str);
sb.append("/androidevent?app_id=");
String obj = sb.toString();
afInfoLog = obj;
StringBuilder sb2 = new StringBuilder("https://%sattr.%s/api/v");
sb2.append(obj);
AFInAppEventParameterName = sb2.toString();
AFInAppEventType = "https://%sadrevenue.%s/api/v2/generic/v6.14.1/android?app_id=";
valueOf = "https://%sadrevenue.%s/api/v2/log/AdImpression/v6.14.1/android?app_id=";
StringBuilder sb3 = new StringBuilder("https://%sconversions.%s/api/v");
sb3.append(obj);
f1849e = sb3.toString();
StringBuilder sb4 = new StringBuilder("https://%slaunches.%s/api/v");
sb4.append(obj);
registerClient = sb4.toString();
StringBuilder sb5 = new StringBuilder("https://%sinapps.%s/api/v");
sb5.append(obj);
f1848d = sb5.toString();
unregisterClient = "https://%smonitorsdk.%s/api/remote-debug/v2.0?app_id=";
StringBuilder sb6 = new StringBuilder("https://%svalidate.%s/api/v");
sb6.append(str);
sb6.append("/androidevent?buildnumber=6.14.1&app_id=");
AFLogger = sb6.toString();
}
@kotlin.jvm.JvmOverloads
public AFj1uSDK(@org.jetbrains.annotations.NotNull com.appsflyer.internal.AFd1sSDK r3) {
throw new UnsupportedOperationException("Method not decompiled: com.appsflyer.internal.AFj1uSDK.<init>(com.appsflyer.internal.AFd1sSDK):void");
}
public static String AFInAppEventParameterName() {
return "https://aps-webhandler.appsflyer.com/api/trigger";
}
public static String AFInAppEventType(String str, boolean z2) {
StringBuilder p2 = androidx.collection.a.p(str);
p2.append(!z2 ? "&buildnumber=6.14.1" : "");
return p2.toString();
}
public static Uri.Builder valueOf(Uri.Builder builder, String str, String str2) {
if (str != null && str2 != null) {
builder.appendQueryParameter("af_sig", AFb1mSDK.AFInAppEventParameterName(str2.concat(str), str));
return builder;
}
String str3 = str == null ? "devKey" : "timestamp";
AFLogger.afErrorLog(str3.concat(" is null at attempt to generate ddl event url"), new IllegalStateException(str3.concat(" is null")));
return builder;
}
@NotNull
public final String AFKeystoreWrapper(@NotNull AFh1jSDK p02) {
Intrinsics.checkNotNullParameter(p02, "");
if (p02 instanceof AFh1fSDK) {
return this.AFInAppEventParameterName.AFInAppEventParameterName("https://%ssdk-services.%s/validate-android-signature");
}
if (!(p02 instanceof AFh1iSDK)) {
throw new UnsupportedOperationException();
}
StringBuilder p2 = androidx.collection.a.p(this.AFInAppEventParameterName.AFInAppEventParameterName(AFLogger));
p2.append(this.AFKeystoreWrapper.valueOf.AFKeystoreWrapper.getPackageName());
return p2.toString();
}
public final String values(String str) {
StringBuilder p2 = androidx.collection.a.p(str);
String AFLogger2 = this.AFKeystoreWrapper.AFLogger();
String concat = AFLogger2 != null ? "&channel=".concat(AFLogger2) : null;
if (concat == null) {
concat = "";
}
p2.append(concat);
return p2.toString();
}
@JvmOverloads
private AFj1uSDK(@NotNull AFd1sSDK aFd1sSDK, @NotNull AFj1rSDK aFj1rSDK) {
Intrinsics.checkNotNullParameter(aFd1sSDK, "");
Intrinsics.checkNotNullParameter(aFj1rSDK, "");
this.AFKeystoreWrapper = aFd1sSDK;
this.AFInAppEventParameterName = aFj1rSDK;
}
public AFj1uSDK(AFd1sSDK aFd1sSDK, AFj1rSDK aFj1rSDK, int i2, DefaultConstructorMarker defaultConstructorMarker) {
this(aFd1sSDK, (i2 & 2) != 0 ? new AFj1oSDK() : aFj1rSDK);
}
}