正在查看: EfectivoYa v2.3 应用的 AFe1sSDK.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: EfectivoYa v2.3 应用的 AFe1sSDK.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.appsflyer.internal;
import android.content.Context;
import android.content.Intent;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.annotation.VisibleForTesting;
import com.appsflyer.AFLogger;
import com.appsflyer.AppsFlyerLib;
import com.appsflyer.AppsFlyerProperties;
import com.appsflyer.FirebaseMessagingServiceListener;
import com.appsflyer.internal.AFd1tSDK.AnonymousClass5;
public final class AFe1sSDK {
@VisibleForTesting
public static String AFKeystoreWrapper;
public final AFb1fSDK values;
static {
StringBuilder sb = new StringBuilder("https://%sregister.%s/api/v");
sb.append(AFa1dSDK.values);
AFKeystoreWrapper = sb.toString();
}
public AFe1sSDK(@NonNull Context context) {
this.values = AFa1dSDK.valueOf().valueOf(context);
}
public static boolean AFInAppEventParameterName(Context context) {
if (AppsFlyerLib.getInstance().isStopped()) {
return false;
}
try {
Class.forName("com.google.firebase.messaging.FirebaseMessagingService");
} catch (ClassNotFoundException unused) {
} catch (Throwable th) {
AFLogger.afErrorLog("An error occurred while trying to verify manifest declarations: ", th);
}
return AFa1cSDK.AFInAppEventParameterName(context, new Intent("com.google.firebase.MESSAGING_EVENT", null, context, FirebaseMessagingServiceListener.class));
}
public static boolean AFInAppEventType(@NonNull AFb1fSDK aFb1fSDK) {
return aFb1fSDK.AFKeystoreWrapper("sentRegisterRequestToAF");
}
public static void AFKeystoreWrapper(String str) {
AFc1zSDK AFInAppEventParameterName = AFa1dSDK.valueOf().AFInAppEventParameterName();
AFd1gSDK aFd1gSDK = new AFd1gSDK(str, AFInAppEventParameterName);
AFd1tSDK level = AFInAppEventParameterName.getLevel();
level.AFKeystoreWrapper.execute(level.new AnonymousClass5(aFd1gSDK));
}
@Nullable
public final AFb1oSDK AFKeystoreWrapper() {
String string;
String string2;
String valueOf = this.values.valueOf("afUninstallToken", (String) null);
long values = this.values.values("afUninstallToken_received_time", 0L);
boolean AFKeystoreWrapper2 = this.values.AFKeystoreWrapper("afUninstallToken_queued");
this.values.valueOf("afUninstallToken_queued", false);
if (valueOf == null && (string2 = AppsFlyerProperties.getInstance().getString("afUninstallToken")) != null) {
valueOf = string2.split(",")[r0.length - 1];
}
if (values == 0 && (string = AppsFlyerProperties.getInstance().getString("afUninstallToken")) != null) {
String[] split = string.split(",");
if (split.length >= 2) {
try {
values = Long.parseLong(split[split.length - 2]);
} catch (NumberFormatException unused) {
}
}
}
if (valueOf != null) {
return new AFb1oSDK(valueOf, values, AFKeystoreWrapper2);
}
return null;
}
}