导航菜单

页面标题

页面副标题

CashVia v1.6.02 - AFg1lSDK.java 源代码

正在查看: CashVia v1.6.02 应用的 AFg1lSDK.java JAVA 源代码文件

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


package com.appsflyer.internal;

import android.content.Context;
import android.content.Intent;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.annotation.VisibleForTesting;
import com.appsflyer.AFLogger;
import com.appsflyer.AppsFlyerLib;
import com.appsflyer.AppsFlyerProperties;
import com.appsflyer.FirebaseMessagingServiceListener;
import com.appsflyer.internal.AFe1aSDK.AnonymousClass4;

public final class AFg1lSDK {

    @VisibleForTesting
    public static String AFInAppEventType;
    public final AFd1pSDK valueOf;

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

    public AFg1lSDK(@NonNull Context context) {
        this.valueOf = AFb1rSDK.AFInAppEventParameterName().AFInAppEventType(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.INSTANCE.e(AFg1bSDK.UNINSTALL, "An error occurred while trying to verify manifest declarations: ", th);
        }
        return AFb1vSDK.valueOf(context, new Intent("com.google.firebase.MESSAGING_EVENT", null, context, FirebaseMessagingServiceListener.class));
    }

    public static boolean AFKeystoreWrapper(@NonNull AFd1pSDK aFd1pSDK) {
        return aFd1pSDK.AFKeystoreWrapper("sentRegisterRequestToAF");
    }

    public static void AFKeystoreWrapper(String str) {
        AFd1fSDK AFInAppEventType2 = AFb1rSDK.AFInAppEventParameterName().AFInAppEventType();
        AFf1cSDK aFf1cSDK = new AFf1cSDK(str, AFInAppEventType2);
        AFe1aSDK w2 = AFInAppEventType2.w();
        w2.AFInAppEventParameterName.execute(w2.new AnonymousClass4(aFf1cSDK));
    }

    @Nullable
    public final AFg1jSDK AFKeystoreWrapper() {
        String string;
        String string2;
        String AFKeystoreWrapper = this.valueOf.AFKeystoreWrapper("afUninstallToken", (String) null);
        long AFInAppEventParameterName = this.valueOf.AFInAppEventParameterName("afUninstallToken_received_time", 0L);
        boolean AFKeystoreWrapper2 = this.valueOf.AFKeystoreWrapper("afUninstallToken_queued");
        this.valueOf.AFKeystoreWrapper("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 AFg1jSDK(AFKeystoreWrapper, AFInAppEventParameterName, AFKeystoreWrapper2);
        }
        return null;
    }
}