正在查看: CreditNow v1.0.2 应用的 AFj1xSDK.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: CreditNow v1.0.2 应用的 AFj1xSDK.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 org.jetbrains.annotations.NotNull;
@Metadata
public final class AFj1xSDK {
@NotNull
public static final String AFInAppEventParameterName;
@NotNull
public static final String AFLogger;
@NotNull
public static final AFa1tSDK AFa1tSDK = new AFa1tSDK(null);
@NotNull
public static final String d;
@NotNull
public static final String e;
@NotNull
public static final String registerClient;
@NotNull
public static String unregisterClient;
@NotNull
public static final String valueOf;
@NotNull
public static final String values;
@NotNull
private static final String w;
@NotNull
public final AFd1sSDK AFInAppEventType;
@NotNull
public final AFj1uSDK AFKeystoreWrapper;
@Metadata
public static final class AFa1tSDK {
private AFa1tSDK() {
}
public AFa1tSDK(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
}
static {
StringBuilder sb = new StringBuilder();
String str = AFb1vSDK.AFInAppEventParameterName;
sb.append(str);
sb.append("/androidevent?app_id=");
String obj = sb.toString();
w = obj;
StringBuilder sb2 = new StringBuilder("https://%sattr.%s/api/v");
sb2.append(obj);
values = sb2.toString();
AFInAppEventParameterName = "https://%sadrevenue.%s/api/v2/generic/v6.14.0/android?app_id=";
valueOf = "https://%sadrevenue.%s/api/v2/log/AdImpression/v6.14.0/android?app_id=";
StringBuilder sb3 = new StringBuilder("https://%sconversions.%s/api/v");
sb3.append(obj);
AFLogger = sb3.toString();
StringBuilder sb4 = new StringBuilder("https://%slaunches.%s/api/v");
sb4.append(obj);
e = sb4.toString();
StringBuilder sb5 = new StringBuilder("https://%sinapps.%s/api/v");
sb5.append(obj);
registerClient = sb5.toString();
d = "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.0&app_id=");
unregisterClient = sb6.toString();
}
public AFj1xSDK(@org.jetbrains.annotations.NotNull com.appsflyer.internal.AFd1sSDK r3) {
throw new UnsupportedOperationException("Method not decompiled: com.appsflyer.internal.AFj1xSDK.<init>(com.appsflyer.internal.AFd1sSDK):void");
}
public static Uri.Builder AFInAppEventParameterName(Uri.Builder builder, String str, String str2) {
if (str != null && str2 != null) {
StringBuilder sb = new StringBuilder();
sb.append(str2);
sb.append(str);
builder.appendQueryParameter("af_sig", AFb1lSDK.AFKeystoreWrapper(sb.toString(), str));
return builder;
}
String str3 = str == null ? "devKey" : "timestamp";
StringBuilder sb2 = new StringBuilder();
sb2.append(str3);
sb2.append(" is null at attempt to generate ddl event url");
String obj = sb2.toString();
StringBuilder sb3 = new StringBuilder();
sb3.append(str3);
sb3.append(" is null");
AFLogger.afErrorLog(obj, new IllegalStateException(sb3.toString()));
return builder;
}
public static String AFInAppEventType(String str, boolean z) {
StringBuilder sb = new StringBuilder();
sb.append(str);
sb.append(!z ? "&buildnumber=6.14.0" : "");
return sb.toString();
}
public final String valueOf(String str) {
StringBuilder sb = new StringBuilder();
sb.append(str);
String d2 = this.AFInAppEventType.d();
String concat = d2 != null ? "&channel=".concat(d2) : null;
if (concat == null) {
concat = "";
}
sb.append(concat);
return sb.toString();
}
private AFj1xSDK(@NotNull AFd1sSDK aFd1sSDK, @NotNull AFj1uSDK aFj1uSDK) {
Intrinsics.checkNotNullParameter(aFd1sSDK, "");
Intrinsics.checkNotNullParameter(aFj1uSDK, "");
this.AFInAppEventType = aFd1sSDK;
this.AFKeystoreWrapper = aFj1uSDK;
}
public AFj1xSDK(AFd1sSDK aFd1sSDK, AFj1uSDK aFj1uSDK, int i, DefaultConstructorMarker defaultConstructorMarker) {
this(aFd1sSDK, (i & 2) != 0 ? new AFj1tSDK() : aFj1uSDK);
}
public static String valueOf() {
return "https://aps-webhandler.appsflyer.com/api/trigger";
}
@NotNull
public final String AFInAppEventParameterName(@NotNull AFh1kSDK aFh1kSDK) {
Intrinsics.checkNotNullParameter(aFh1kSDK, "");
if (aFh1kSDK instanceof AFh1nSDK) {
return this.AFKeystoreWrapper.AFInAppEventParameterName("https://%ssdk-services.%s/validate-android-signature");
}
if (aFh1kSDK instanceof AFh1lSDK) {
String AFInAppEventParameterName2 = this.AFKeystoreWrapper.AFInAppEventParameterName(unregisterClient);
StringBuilder sb = new StringBuilder();
sb.append(AFInAppEventParameterName2);
sb.append(this.AFInAppEventType.valueOf.AFKeystoreWrapper.getPackageName());
return sb.toString();
}
throw new UnsupportedOperationException();
}
}