Fortune Cow 6 v1.0.1版本的 MD5 值为:cc5dbc2a635a6fa7c66a7991d91041f6

以下内容为反编译后的 AFe1bSDK.java 源代码,内容仅作参考


package com.appsflyer.internal;

import android.content.Context;
import android.content.Intent;
import com.appsflyer.AFLogger;
import com.appsflyer.AppsFlyerLib;
import com.appsflyer.AppsFlyerProperties;
import com.appsflyer.FirebaseMessagingServiceListener;
import com.appsflyer.internal.AFd1fSDK;
public final class AFe1bSDK {
    public static String values;
    public final AFc1uSDK AFKeystoreWrapper;

    static {
        StringBuilder sb = new StringBuilder("https://%sregister.%s/api/v");
        sb.append(AFa1cSDK.valueOf);
        values = sb.toString();
    }

    public AFe1bSDK(Context context) {
        this.AFKeystoreWrapper = AFa1cSDK.AFInAppEventType().AFInAppEventParameterName(context);
    }

    public static boolean values(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 AFa1eSDK.valueOf(context, new Intent("com.google.firebase.MESSAGING_EVENT", null, context, FirebaseMessagingServiceListener.class));
    }

    public static boolean AFKeystoreWrapper(AFc1uSDK aFc1uSDK) {
        return aFc1uSDK.AFKeystoreWrapper("sentRegisterRequestToAF");
    }

    public static void valueOf(String str) {
        AFc1qSDK valueOf = AFa1cSDK.AFInAppEventType().valueOf();
        AFe1sSDK aFe1sSDK = new AFe1sSDK(str, valueOf);
        AFd1fSDK afErrorLogForExcManagerOnly = valueOf.afErrorLogForExcManagerOnly();
        afErrorLogForExcManagerOnly.values.execute(new AFd1fSDK.AnonymousClass3(aFe1sSDK));
    }

    public final AFe1cSDK values() {
        String string;
        String string2;
        String AFInAppEventParameterName = this.AFKeystoreWrapper.AFInAppEventParameterName("afUninstallToken", (String) null);
        long AFInAppEventParameterName2 = this.AFKeystoreWrapper.AFInAppEventParameterName("afUninstallToken_received_time", 0L);
        boolean AFKeystoreWrapper = this.AFKeystoreWrapper.AFKeystoreWrapper("afUninstallToken_queued");
        this.AFKeystoreWrapper.valueOf("afUninstallToken_queued", false);
        if (AFInAppEventParameterName == null && (string2 = AppsFlyerProperties.getInstance().getString("afUninstallToken")) != null) {
            String[] split = string2.split(",");
            AFInAppEventParameterName = split[split.length - 1];
        }
        if (AFInAppEventParameterName2 == 0 && (string = AppsFlyerProperties.getInstance().getString("afUninstallToken")) != null) {
            String[] split2 = string.split(",");
            if (split2.length >= 2) {
                try {
                    AFInAppEventParameterName2 = Long.parseLong(split2[split2.length - 2]);
                } catch (NumberFormatException unused) {
                }
            }
        }
        if (AFInAppEventParameterName != null) {
            return new AFe1cSDK(AFInAppEventParameterName, AFInAppEventParameterName2, AFKeystoreWrapper);
        }
        return null;
    }
}