onMessageReceived not called when app is in the background
问题 When app is running and notification is alert if I click it, notification is go to there ( onMessageReceived is called) But when app is in background and notification is alert if I click it, onMessageReceived not called How to fix it? ps. sorry my english is not good. My code public class MyFirebaseMessagingService extends FirebaseMessagingService { String fnotification="0"; String post_id; String bage; String notification_id; String type; String message; private static final String TAG =