导航菜单

页面标题

页面副标题

Pesohere v1.0.5 - AFd1dSDK.java 源代码

正在查看: Pesohere v1.0.5 应用的 AFd1dSDK.java JAVA 源代码文件

本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。


package com.appsflyer.internal;

import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import com.appsflyer.AFLogger;
import com.appsflyer.AppsFlyerLib;
import com.appsflyer.AppsFlyerProperties;
import com.appsflyer.FirebaseMessagingServiceListener;
import com.appsflyer.internal.AFc1gSDK.AnonymousClass1;

public final class AFd1dSDK {
    public static String AFKeystoreWrapper;
    public final AFd1mSDK AFInAppEventType;

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

    public AFd1dSDK(Context context) {
        this.AFInAppEventType = AFb1zSDK.AFInAppEventType().AFInAppEventParameterName(context);
    }

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

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

    public static void values(String str) {
        AFb1aSDK valueOf = AFb1zSDK.AFInAppEventType().valueOf();
        AFd1lSDK aFd1lSDK = new AFd1lSDK(str, valueOf);
        AFc1gSDK afDebugLog = valueOf.afDebugLog();
        afDebugLog.valueOf.execute(afDebugLog.new AnonymousClass1(aFd1lSDK));
    }

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