Kufar v3.2.0版本的 MD5 值为:6a4d203db1c561c7e3bcd50d23fed59f
以下内容为反编译后的 AFe1pSDK.java 源代码,内容仅作参考
package com.appsflyer.internal;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
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.AFd1wSDK;
import com.google.firebase.messaging.FirebaseMessagingService;
public final class AFe1pSDK {
@VisibleForTesting
public static String AFKeystoreWrapper;
public final AFb1dSDK AFInAppEventParameterName;
static {
StringBuilder sb2 = new StringBuilder("https://%sregister.%s/api/v");
sb2.append(AFa1dSDK.valueOf);
AFKeystoreWrapper = sb2.toString();
}
public AFe1pSDK(@NonNull Context context) {
this.AFInAppEventParameterName = AFa1dSDK.valueOf().values(context);
}
public static void AFInAppEventParameterName(String str) {
AFb1bSDK AFKeystoreWrapper2 = AFa1dSDK.valueOf().AFKeystoreWrapper();
AFd1dSDK aFd1dSDK = new AFd1dSDK(str, AFKeystoreWrapper2);
AFd1wSDK afWarnLog = AFKeystoreWrapper2.afWarnLog();
afWarnLog.valueOf.execute(new AFd1wSDK.AnonymousClass3(aFd1dSDK));
}
public static boolean values(Context context) {
if (AppsFlyerLib.getInstance().isStopped()) {
return false;
}
try {
String str = FirebaseMessagingService.ACTION_DIRECT_BOOT_REMOTE_INTENT;
} catch (ClassNotFoundException unused) {
} catch (Throwable th2) {
AFLogger.afErrorLog("An error occurred while trying to verify manifest declarations: ", th2);
}
return AFa1fSDK.AFInAppEventType(context, new Intent("com.google.firebase.MESSAGING_EVENT", null, context, FirebaseMessagingServiceListener.class));
}
@Nullable
public final AFb1rSDK AFInAppEventParameterName() {
String string;
String string2;
String AFInAppEventType = this.AFInAppEventParameterName.AFInAppEventType("afUninstallToken", (String) null);
long values = this.AFInAppEventParameterName.values("afUninstallToken_received_time", 0L);
boolean AFInAppEventParameterName = this.AFInAppEventParameterName.AFInAppEventParameterName("afUninstallToken_queued");
this.AFInAppEventParameterName.valueOf("afUninstallToken_queued", false);
if (AFInAppEventType == null && (string2 = AppsFlyerProperties.getInstance().getString("afUninstallToken")) != null) {
AFInAppEventType = 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 (AFInAppEventType != null) {
return new AFb1rSDK(AFInAppEventType, values, AFInAppEventParameterName);
}
return null;
}
public static boolean values(@NonNull SharedPreferences sharedPreferences) {
return sharedPreferences.getBoolean("sentRegisterRequestToAF", false);
}
}