CheetahGram v8.5.4版本的 MD5 值为:3d14e79cc242c314d3933620ff3ab030

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


package com.batch.android.push;

import android.content.Context;
import com.batch.android.BatchPushInstanceIDService;
import com.batch.android.PushRegistrationProviderAvailabilityException;
import com.batch.android.core.o;
import com.batch.android.core.s;
import com.batch.android.module.i;

public class e extends d {
    public e(Context context, String str) {
        super(context, str);
    }

    @Override
    protected Integer a() {
        return o.e(this.b);
    }

    @Override
    public void checkLibraryAvailability() {
        try {
            new BatchPushInstanceIDService();
            super.checkLibraryAvailability();
        } catch (Exception | NoClassDefFoundError e) {
            s.c(i.n, "Error while instantiating BatchPushInstanceIDService", e);
            throw new PushRegistrationProviderAvailabilityException("BatchPushInstanceIDService is declared in the Manifest, but the Play Services appear to be too old! This can cause CRASHES in your app: remove it or update your Play Services to version 10.2.9 or higher. This error can also be caused by an incorrect proguard configuration. Falling back on classic GCM, please read the documentation for more info: https://batch.com/");
        }
    }

    @Override
    public String getRegistration() {
        return o.a(this.b, this.c);
    }

    @Override
    public String getShortname() {
        return "GCM";
    }
}