导航菜单

页面标题

页面副标题

CashVia v1.6.02 - MineApp.java 源代码

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

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


package com.xy.credyclub;

import A2.C0011a;
import L0.d;
import T.c;
import V2.C0078m0;
import V2.D;
import V2.InterfaceC0080n0;
import V2.Q;
import V2.w0;
import V2.x0;
import android.app.Activity;
import android.app.Application;
import android.content.Context;
import android.os.Bundle;
import android.util.Log;
import androidx.appcompat.app.AppCompatDelegate;
import androidx.constraintlayout.core.state.a;
import com.airbnb.lottie.m;
import com.appsflyer.AppsFlyerLib;
import com.google.android.gms.internal.measurement.h0;
import com.google.android.gms.internal.measurement.p0;
import com.google.android.material.card.MaterialCardViewHelper;
import com.google.firebase.analytics.FirebaseAnalytics;
import com.sensorsdata.analytics.android.sdk.SAConfigOptions;
import com.sensorsdata.analytics.android.sdk.SensorsDataAPI;
import com.sensorsdata.analytics.android.sdk.data.SAProviderHelper;
import com.tencent.mmkv.MMKV;
import g1.p;
import j2.k;
import j2.l;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.concurrent.ArrayBlockingQueue;
import java.util.concurrent.TimeUnit;
import kotlin.Metadata;
import kotlin.coroutines.CoroutineContext;
import kotlin.jvm.internal.Intrinsics;
import kotlin.sequences.Sequence;
import kotlin.sequences.SequencesKt;
import n1.C0205a;
import org.json.JSONObject;
import q2.AbstractC0257d;
import u2.j;
import u2.w;

@Metadata(d1 = {"\u0000\u0014\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\b\u0007\u0018\u00002\u00020\u00012\u00020\u00022\u00020\u0003B\u0007¢\u0006\u0004\b\u0004\u0010\u0005¨\u0006\u0006"}, d2 = {"Lcom/xy/credyclub/MineApp;", "Landroid/app/Application;", "LV2/D;", "Landroid/app/Application$ActivityLifecycleCallbacks;", "<init>", "()V", "app_prodRelease"}, k = 1, mv = {1, SAProviderHelper.URI_CODE.FLUSH_DATA, 0})
public final class MineApp extends k implements D, Application.ActivityLifecycleCallbacks {
    public static final int f = 0;
    public c c;
    public String d = "";
    public String e = "";

    public final JSONObject a() {
        JSONObject jSONObject = new JSONObject();
        try {
            jSONObject.put("cGaId", AbstractC0257d.c());
            jSONObject.put("cAfId", AbstractC0257d.a());
            jSONObject.put("cUserType", AbstractC0257d.g(null, true));
            jSONObject.put("CUserCount", AbstractC0257d.f(null, true));
            jSONObject.put("c_approval_level", AbstractC0257d.e(null, true));
            jSONObject.put("cAdChannel", this.d);
            jSONObject.put("cPackageName", getString(2131820573));
            jSONObject.put("cMediaSource", this.e);
        } catch (Exception e) {
            e.printStackTrace();
        }
        return jSONObject;
    }

    @Override
    public final void attachBaseContext(Context context) {
        super.attachBaseContext(context);
        MMKV.c(this);
        com.blankj.utilcode.util.c.l(this);
    }

    public final void c() {
        SAConfigOptions sAConfigOptions = new SAConfigOptions("https://tracker.cashvia.mx/sa?project=production");
        sAConfigOptions.enableTrackAppCrash();
        sAConfigOptions.enableLog(false);
        SensorsDataAPI.startWithConfigOptions(this, sAConfigOptions);
        ArrayList arrayList = new ArrayList();
        arrayList.add(SensorsDataAPI.AutoTrackEventType.APP_START);
        arrayList.add(SensorsDataAPI.AutoTrackEventType.APP_END);
        SensorsDataAPI.sharedInstance().enableAutoTrack(arrayList);
        SensorsDataAPI.sharedInstance().trackFragmentAppViewScreen();
        SensorsDataAPI.sharedInstance().registerDynamicSuperProperties(new C0011a(this, 16));
    }

    @Override
    public final CoroutineContext getCoroutineContext() {
        return Q.b;
    }

    @Override
    public final void onActivityCreated(Activity activity, Bundle bundle) {
        Intrinsics.checkNotNullParameter(activity, "activity");
    }

    @Override
    public final void onActivityDestroyed(Activity activity) {
        Intrinsics.checkNotNullParameter(activity, "activity");
    }

    @Override
    public final void onActivityPaused(Activity activity) {
        Intrinsics.checkNotNullParameter(activity, "activity");
    }

    @Override
    public final void onActivityResumed(Activity activity) {
        Intrinsics.checkNotNullParameter(activity, "activity");
        j.a = true;
    }

    @Override
    public final void onActivitySaveInstanceState(Activity activity, Bundle outState) {
        Intrinsics.checkNotNullParameter(activity, "activity");
        Intrinsics.checkNotNullParameter(outState, "outState");
    }

    @Override
    public final void onActivityStarted(Activity activity) {
        Intrinsics.checkNotNullParameter(activity, "activity");
    }

    @Override
    public final void onActivityStopped(Activity activity) {
        Intrinsics.checkNotNullParameter(activity, "activity");
        j.a = false;
    }

    @Override
    public final void onCreate() {
        p pVar;
        C0205a c0205a;
        super.onCreate();
        registerActivityLifecycleCallbacks(this);
        AppCompatDelegate.setCompatVectorFromResourcesEnabled(true);
        a3d20241011.k.m(this);
        a3d20241011.k.b = true;
        a3d20241011.k.h = true;
        a3d20241011.k.n();
        a3d20241011.k.c = Math.min(Math.max(600, MaterialCardViewHelper.DEFAULT_FADE_ANIM_DURATION), 1000);
        c commRepository = this.c;
        if (commRepository == null) {
            Intrinsics.throwUninitializedPropertyAccessException("mCommRepository");
            commRepository = null;
        }
        Intrinsics.checkNotNullParameter(commRepository, "commRepository");
        c cVar = w.a;
        Intrinsics.checkNotNullParameter(commRepository, "commRepository");
        cVar.a = commRepository;
        l lVar = new l(this);
        Intrinsics.checkNotNullParameter(this, "context");
        Intrinsics.checkNotNullParameter("vL6GPTcHPQDbVvhRCrVvsV", "devKey");
        AppsFlyerLib.getInstance().init("vL6GPTcHPQDbVvhRCrVvsV", new c(lVar), this);
        AppsFlyerLib.getInstance().setDebugLog(false);
        AppsFlyerLib.getInstance().start(this);
        if (!com.blankj.utilcode.util.c.m()) {
            Log.isLoggable(null, 7);
        }
        FirebaseAnalytics firebaseAnalytics = FirebaseAnalytics.getInstance(this);
        firebaseAnalytics.getClass();
        try {
            synchronized (FirebaseAnalytics.class) {
                try {
                    if (firebaseAnalytics.b == null) {
                        firebaseAnalytics.b = new C0205a(0, 1, 30L, TimeUnit.SECONDS, new ArrayBlockingQueue(100));
                    }
                    c0205a = firebaseAnalytics.b;
                } catch (Throwable th) {
                    throw th;
                }
            }
            pVar = d.j(c0205a, new m(firebaseAnalytics, 3));
        } catch (RuntimeException e) {
            h0 h0Var = firebaseAnalytics.a;
            h0Var.getClass();
            h0Var.b(new p0(h0Var, "Failed to schedule task for getAppInstanceId", (Object) null));
            pVar = new p();
            pVar.o(e);
        }
        pVar.l(new a(6));
        MMKV mmkv = AbstractC0257d.a;
        Context context = getApplicationContext();
        Intrinsics.checkNotNullExpressionValue(context, "getApplicationContext(...)");
        Intrinsics.checkNotNullParameter(context, "context");
        String afId = AppsFlyerLib.getInstance().getAppsFlyerUID(context);
        if (afId == null) {
            afId = "";
        }
        Intrinsics.checkNotNullParameter(afId, "afId");
        AbstractC0257d.a.putString("afid", afId);
        if (AbstractC0257d.a.getBoolean("permission", false)) {
            c();
        }
    }

    @Override
    public final void onTerminate() {
        Sequence sequence;
        super.onTerminate();
        InterfaceC0080n0 interfaceC0080n0 = (InterfaceC0080n0) Q.b.get(C0078m0.a);
        if (interfaceC0080n0 == null || (sequence = SequencesKt.sequence(new w0((x0) interfaceC0080n0, null))) == null) {
            return;
        }
        Iterator it = sequence.iterator();
        while (it.hasNext()) {
            ((InterfaceC0080n0) it.next()).cancel(null);
        }
    }
}