导航菜单

页面标题

页面副标题

PrestaMax v1.0.9 - AFe1sSDK.java 源代码

正在查看: PrestaMax v1.0.9 应用的 AFe1sSDK.java JAVA 源代码文件

本页面展示 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.AFd1xSDK.AnonymousClass4;
import com.google.firebase.messaging.FirebaseMessagingService;

public final class AFe1sSDK {
    public static String values;
    public final AFb1fSDK AFInAppEventParameterName;

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

    public AFe1sSDK(@NonNull Context context) {
        this.AFInAppEventParameterName = AFa1bSDK.values().AFKeystoreWrapper(context);
    }

    public static boolean AFKeystoreWrapper(@NonNull AFb1fSDK aFb1fSDK) {
        return aFb1fSDK.AFInAppEventType("sentRegisterRequestToAF");
    }

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

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

    public static void AFKeystoreWrapper(String str) {
        AFc1ySDK valueOf = AFa1bSDK.values().valueOf();
        AFd1bSDK aFd1bSDK = new AFd1bSDK(str, valueOf);
        AFd1xSDK AFLogger$LogLevel = valueOf.AFLogger$LogLevel();
        AFLogger$LogLevel.valueOf.execute(AFLogger$LogLevel.new AnonymousClass4(aFd1bSDK));
    }
}