Perfume Of Love v2.14.9版本的 MD5 值为:16011aefc5a55805771706ce3b259b4e
以下内容为反编译后的 AFe1mSDK.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.AFd1pSDK;
public final class AFe1mSDK {
public static String values;
public final AFc1xSDK AFKeystoreWrapper;
static {
StringBuilder sb = new StringBuilder("https://%sregister.%s/api/v");
sb.append(AFb1xSDK.values);
values = sb.toString();
}
public AFe1mSDK(Context context) {
this.AFKeystoreWrapper = AFb1xSDK.AFInAppEventType().values(context);
}
public static boolean AFKeystoreWrapper(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.valueOf(context, new Intent("com.google.firebase.MESSAGING_EVENT", null, context, FirebaseMessagingServiceListener.class));
}
public static boolean AFKeystoreWrapper(SharedPreferences sharedPreferences) {
return sharedPreferences.getBoolean("sentRegisterRequestToAF", false);
}
public static void AFKeystoreWrapper(String str) {
AFc1vSDK AFKeystoreWrapper = AFb1xSDK.AFInAppEventType().AFKeystoreWrapper();
AFd1bSDK aFd1bSDK = new AFd1bSDK(str, AFKeystoreWrapper);
AFd1pSDK afDebugLog = AFKeystoreWrapper.afDebugLog();
afDebugLog.AFKeystoreWrapper.execute(new AFd1pSDK.AnonymousClass5(aFd1bSDK));
}
public final AFb1tSDK valueOf() {
String string;
String string2;
String AFInAppEventType = this.AFKeystoreWrapper.AFInAppEventType("afUninstallToken", (String) null);
long AFKeystoreWrapper = this.AFKeystoreWrapper.AFKeystoreWrapper("afUninstallToken_received_time", 0L);
boolean AFInAppEventParameterName = this.AFKeystoreWrapper.AFInAppEventParameterName("afUninstallToken_queued");
this.AFKeystoreWrapper.AFInAppEventType("afUninstallToken_queued", false);
if (AFInAppEventType == null && (string2 = AppsFlyerProperties.getInstance().getString("afUninstallToken")) != null) {
String[] split = string2.split(",");
AFInAppEventType = split[split.length - 1];
}
if (AFKeystoreWrapper == 0 && (string = AppsFlyerProperties.getInstance().getString("afUninstallToken")) != null) {
String[] split2 = string.split(",");
if (split2.length >= 2) {
try {
AFKeystoreWrapper = Long.parseLong(split2[split2.length - 2]);
} catch (NumberFormatException unused) {
}
}
}
if (AFInAppEventType != null) {
return new AFb1tSDK(AFInAppEventType, AFKeystoreWrapper, AFInAppEventParameterName);
}
return null;
}
}