Driving Zone: Germany v1.22.4版本的 MD5 值为:2b6e2d8e8733a3104dcc306c5770286c
以下内容为反编译后的 AFd1iSDK.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.AFc1mSDK;
public final class AFd1iSDK {
public static String AFKeystoreWrapper;
public final AFd1qSDK values;
static {
StringBuilder sb = new StringBuilder("https://%sregister.%s/api/v");
sb.append(AFb1xSDK.AFInAppEventParameterName);
AFKeystoreWrapper = sb.toString();
}
public AFd1iSDK(Context context) {
this.values = AFb1xSDK.AFKeystoreWrapper().AFInAppEventParameterName(context);
}
public static boolean AFInAppEventType(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 AFb1wSDK.AFInAppEventType(context, new Intent("com.google.firebase.MESSAGING_EVENT", null, context, FirebaseMessagingServiceListener.class));
}
public static boolean values(SharedPreferences sharedPreferences) {
return sharedPreferences.getBoolean("sentRegisterRequestToAF", false);
}
public static void valueOf(String str) {
AFc1zSDK values = AFb1xSDK.AFKeystoreWrapper().values();
AFd1rSDK aFd1rSDK = new AFd1rSDK(str, values);
AFc1mSDK afErrorLog = values.afErrorLog();
afErrorLog.AFInAppEventParameterName.execute(new AFc1mSDK.AnonymousClass3(aFd1rSDK));
}
public final AFb1rSDK AFInAppEventParameterName() {
String string;
String string2;
String AFInAppEventType = this.values.AFInAppEventType("afUninstallToken", (String) null);
long AFKeystoreWrapper2 = this.values.AFKeystoreWrapper("afUninstallToken_received_time");
boolean AFInAppEventParameterName = this.values.AFInAppEventParameterName("afUninstallToken_queued");
this.values.AFKeystoreWrapper("afUninstallToken_queued", false);
if (AFInAppEventType == null && (string2 = AppsFlyerProperties.getInstance().getString("afUninstallToken")) != null) {
AFInAppEventType = string2.split(",")[r0.length - 1];
}
if (AFKeystoreWrapper2 == 0 && (string = AppsFlyerProperties.getInstance().getString("afUninstallToken")) != null) {
String[] split = string.split(",");
if (split.length >= 2) {
try {
AFKeystoreWrapper2 = Long.parseLong(split[split.length - 2]);
} catch (NumberFormatException unused) {
}
}
}
if (AFInAppEventType != null) {
return new AFb1rSDK(AFInAppEventType, AFKeystoreWrapper2, AFInAppEventParameterName);
}
return null;
}
}