Swiggy v4.51.1版本的 MD5 值为:5af7ec91512a0a8c1510e3f8bac20b8b

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


package com.appsflyer.internal;

import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import androidx.annotation.NonNull;
import com.appsflyer.AFLogger;
import com.appsflyer.AppsFlyerLib;
import com.appsflyer.AppsFlyerProperties;
import com.appsflyer.FirebaseMessagingServiceListener;
import com.appsflyer.internal.AFd1vSDK;
import com.google.firebase.messaging.FirebaseMessagingService;
import com.xiaomi.mipush.sdk.Constants;
public final class AFe1rSDK {
    public static String AFInAppEventParameterName;
    public final AFb1gSDK AFKeystoreWrapper;

    static {
        StringBuilder sb = new StringBuilder("https://%sregister.%s/api/v");
        sb.append(AFb1wSDK.AFKeystoreWrapper);
        AFInAppEventParameterName = sb.toString();
    }

    public AFe1rSDK(@NonNull Context context) {
        this.AFKeystoreWrapper = AFb1wSDK.AFKeystoreWrapper().AFInAppEventParameterName(context);
    }

    public static void AFInAppEventParameterName(String str) {
        AFc1zSDK valueOf = AFb1wSDK.AFKeystoreWrapper().valueOf();
        AFd1bSDK aFd1bSDK = new AFd1bSDK(str, valueOf);
        AFd1vSDK AFLogger = valueOf.AFLogger();
        AFLogger.values.execute(new AFd1vSDK.AnonymousClass2(aFd1bSDK));
    }

    public static boolean AFInAppEventType(Context context) {
        if (AppsFlyerLib.getInstance().isStopped()) {
            return false;
        }
        try {
            String str = FirebaseMessagingService.ACTION_DIRECT_BOOT_REMOTE_INTENT;
        } catch (ClassNotFoundException unused) {
        } catch (Throwable th) {
            AFLogger.afErrorLog("An error occurred while trying to verify manifest declarations: ", th);
        }
        return AFa1cSDK.values(context, new Intent("com.google.firebase.MESSAGING_EVENT", null, context, FirebaseMessagingServiceListener.class));
    }

    public static boolean AFInAppEventType(@NonNull SharedPreferences sharedPreferences) {
        return sharedPreferences.getBoolean("sentRegisterRequestToAF", false);
    }

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