on-internet
← Community

FCM Notification not working in oppo(color OS) after allowing Auto Startup

Stack Overflow ·

I am using FCM in my android application. Notification working fine when the app is in the background but after killing from the background notification is not working. My mobile is oppo f9 pro I have manually enabled auto startup and enabled allow in the background. Enabled in background My Firebase Service public class MyFirebaseMessagingService extends FirebaseMessagingService { private static final String TAG = "myFirebaseMsgService"; @Override public void onMessageReceived(RemoteMessage remoteMessage) { super.onMessageReceived(remoteMessage); Log.d(TAG, "From : " + remoteMessage.getFrom()

Comments

Sign in or sign up to comment and upvote.

No comments yet.