正在查看: Crédito Express v1.0.3 应用的 AFe1pSDK.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Crédito Express v1.0.3 应用的 AFe1pSDK.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.appsflyer.internal;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import com.appsflyer.AFLogger;
import com.appsflyer.AppsFlyerLib;
import com.appsflyer.AppsFlyerProperties;
import com.appsflyer.FirebaseMessagingServiceListener;
import com.appsflyer.internal.AFd1xSDK.AnonymousClass2;
import com.google.firebase.messaging.FirebaseMessagingService;
public final class AFe1pSDK {
public static String AFInAppEventParameterName;
public final AFb1gSDK AFInAppEventType;
static {
StringBuilder sb = new StringBuilder("https://%sregister.%s/api/v");
sb.append(AFb1zSDK.AFInAppEventParameterName);
AFInAppEventParameterName = sb.toString();
}
public AFe1pSDK(Context context) {
this.AFInAppEventType = AFb1zSDK.AFInAppEventType().AFInAppEventParameterName(context);
}
public static boolean AFInAppEventParameterName(SharedPreferences sharedPreferences) {
return sharedPreferences.getBoolean("sentRegisterRequestToAF", false);
}
public final AFb1sSDK valueOf() {
String string;
String string2;
String valueOf = this.AFInAppEventType.valueOf("afUninstallToken", (String) null);
long valueOf2 = this.AFInAppEventType.valueOf("afUninstallToken_received_time", 0L);
boolean valueOf3 = this.AFInAppEventType.valueOf("afUninstallToken_queued");
this.AFInAppEventType.valueOf("afUninstallToken_queued", false);
if (valueOf == null && (string2 = AppsFlyerProperties.getInstance().getString("afUninstallToken")) != null) {
valueOf = string2.split(",")[r0.length - 1];
}
if (valueOf2 == 0 && (string = AppsFlyerProperties.getInstance().getString("afUninstallToken")) != null) {
String[] split = string.split(",");
if (split.length >= 2) {
try {
valueOf2 = Long.parseLong(split[split.length - 2]);
} catch (NumberFormatException unused) {
}
}
}
if (valueOf != null) {
return new AFb1sSDK(valueOf, valueOf2, valueOf3);
}
return null;
}
public static void valueOf(String str) {
AFc1xSDK AFInAppEventParameterName2 = AFb1zSDK.AFInAppEventType().AFInAppEventParameterName();
AFd1gSDK aFd1gSDK = new AFd1gSDK(str, AFInAppEventParameterName2);
AFd1xSDK afDebugLog = AFInAppEventParameterName2.afDebugLog();
afDebugLog.AFKeystoreWrapper.execute(afDebugLog.new AnonymousClass2(aFd1gSDK));
}
public static boolean valueOf(Context context) {
if (AppsFlyerLib.getInstance().isStopped()) {
return false;
}
try {
String str = FirebaseMessagingService.ACTION_DIRECT_BOOT_REMOTE_INTENT;
} catch (ClassNotFoundException unused) {
} catch (Throwable th) {
AFLogger.afErrorLog("An error occurred while trying to verify manifest declarations: ", th);
}
return AFa1dSDK.AFInAppEventType(context, new Intent("com.google.firebase.MESSAGING_EVENT", null, context, FirebaseMessagingServiceListener.class));
}
}