[Firebase_Messaging] - How can I disable the default notification on background message #5920
Replies: 3 comments 6 replies
-
Hello, remove the notification node from your payload |
Beta Was this translation helpful? Give feedback.
-
I actually just submitted an issue for this too: #6113 |
Beta Was this translation helpful? Give feedback.
-
A solution would be to create our own fcm message handler in the MainActivity of the app. This way would be able to get the payload in the data only field and create a notification with it. I'll look into this and share the code if succesful |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I've setup a background message handler but I get two notifications on background message received. How can I disable the first notification and let the background handler show the notification?
Beta Was this translation helpful? Give feedback.
All reactions