Messaging example README update
Can you update README for https://github.com/firebase/quickstart-js/tree/master/messaging
The part that if the FCM sends notification: {} object setBackgroundMessageHandler will not trigger.
I was debugging that for a while, and noticed other people had the same problem
@kroikie Can you have a look?
Here is the documentation that says that a message with notification payload will be handled by the SDK and not by the user defined function in setBackgroundMessageHandler.
Basically, if you want your message handler to handle the message, you should not add a notification payload to your message (even if it is empty). You can put the same payload inside data if you wish.
We could add something similar to the README.
How to send notifications from Firebase console to web applications without using the device token