package com.base.pdfreaderallpdfreader.fcm;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

import com.base.pdfreaderallpdfreader.helper.EventUtils;
import com.base.pdfreaderallpdfreader.utils.LogEx;


public class FcmReceiver extends BroadcastReceiver {
    private String TAG = "FcmReceiver";

    @Override
    public void onReceive(Context context, Intent intent) {
        LogEx.INSTANCE.logDebug(TAG, "onReceive", false);
        EventUtils.INSTANCE.event("FCM_Received", null, null, false);

        NotificationUiUtil.INSTANCE.sendNotificationIfCan(context, PopupConstObject.POPUP_WHERE_FCM, null);
    }
}
