ChatOn v1.35.366360版本的 MD5 值为:cde28447b38d5467efa95e48e7076155
以下内容为反编译后的 AFg1tSDK.java 源代码,内容仅作参考
package com.appsflyer.internal;
import android.content.Context;
import android.content.Intent;
import androidx.annotation.NonNull;
import com.appsflyer.AFLogger;
import com.appsflyer.AppsFlyerLib;
import com.appsflyer.AppsFlyerProperties;
import com.appsflyer.FirebaseMessagingServiceListener;
import com.appsflyer.internal.AFe1dSDK;
public final class AFg1tSDK {
public static String valueOf;
public final AFd1xSDK AFKeystoreWrapper;
static {
StringBuilder sb2 = new StringBuilder("https://%sregister.%s/api/v");
sb2.append(AFb1vSDK.AFKeystoreWrapper);
valueOf = sb2.toString();
}
public AFg1tSDK(@NonNull Context context) {
this.AFKeystoreWrapper = AFb1vSDK.valueOf().valueOf(context);
}
public static void valueOf(String str) {
AFd1nSDK AFInAppEventType = AFb1vSDK.valueOf().AFInAppEventType();
AFf1jSDK aFf1jSDK = new AFf1jSDK(str, AFInAppEventType);
AFe1dSDK w10 = AFInAppEventType.w();
w10.values.execute(new AFe1dSDK.AnonymousClass4(aFf1jSDK));
}
public static boolean valueOf(Context context) {
if (AppsFlyerLib.getInstance().isStopped()) {
return false;
}
try {
Class.forName("com.google.firebase.messaging.FirebaseMessagingService");
} catch (ClassNotFoundException unused) {
} catch (Throwable th2) {
AFLogger.INSTANCE.e(AFg1hSDK.UNINSTALL, "An error occurred while trying to verify manifest declarations: ", th2);
}
return AFb1qSDK.AFInAppEventParameterName(context, new Intent("com.google.firebase.MESSAGING_EVENT", null, context, FirebaseMessagingServiceListener.class));
}
public static boolean values(@NonNull AFd1xSDK aFd1xSDK) {
return aFd1xSDK.valueOf("sentRegisterRequestToAF");
}
public final AFg1uSDK AFInAppEventType() {
String string;
String string2;
String valueOf2 = this.AFKeystoreWrapper.valueOf("afUninstallToken", (String) null);
long AFInAppEventType = this.AFKeystoreWrapper.AFInAppEventType("afUninstallToken_received_time", 0L);
boolean valueOf3 = this.AFKeystoreWrapper.valueOf("afUninstallToken_queued");
this.AFKeystoreWrapper.AFInAppEventParameterName("afUninstallToken_queued", false);
if (valueOf2 == null && (string2 = AppsFlyerProperties.getInstance().getString("afUninstallToken")) != null) {
String[] split = string2.split(",");
valueOf2 = split[split.length - 1];
}
if (AFInAppEventType == 0 && (string = AppsFlyerProperties.getInstance().getString("afUninstallToken")) != null) {
String[] split2 = string.split(",");
if (split2.length >= 2) {
try {
AFInAppEventType = Long.parseLong(split2[split2.length - 2]);
} catch (NumberFormatException unused) {
}
}
}
if (valueOf2 != null) {
return new AFg1uSDK(valueOf2, AFInAppEventType, valueOf3);
}
return null;
}
}