Picsart v24.6版本的 MD5 值为:21a61631d94e54da68d2ad9268b8b9d9
以下内容为反编译后的 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;
import com.google.firebase.messaging.FirebaseMessagingService;
public final class AFg1tSDK {
public static String valueOf;
public final AFd1xSDK AFKeystoreWrapper;
static {
StringBuilder sb = new StringBuilder("https://%sregister.%s/api/v");
sb.append(AFb1vSDK.AFKeystoreWrapper);
valueOf = sb.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 w = AFInAppEventType.w();
w.values.execute(new AFe1dSDK.AnonymousClass4(aFf1jSDK));
}
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.INSTANCE.e(AFg1hSDK.UNINSTALL, "An error occurred while trying to verify manifest declarations: ", th);
}
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;
}
}