I’m trying to implement Firebase Cloud Messaging for Android. Unfortunately, I’m not able to handle all the cases required for a functional app. Note: It doesn’t matter whether I send the notification via Cloud Functions of the Notifications Panel in the Firebase Console.
App is not started at all: When opening the app via double-tapping a notification, the notification is coming through via
Note: The notification’s message text doesn’t show up here, no clue why.
App is in foreground/active: When the app is in the foreground and a notification is sent, it’s coming through via
Note: The notification’s message text shows up here.
- App is started, but in background: The notification is shown in the panel, but after double-tapping it to bring app into foreground, neither
getInitialNotification()(okay, makes sense) nor the
getMessage()(shouldn’t happen) are triggered.
I followed the Android setup guide for FCM step by step, and double-checked before posting this issue. Can anybody help please?