Open
Description
In this SO post they discuss the difference between data and display messages (the main difference being data messages trigger the onMessageReceived()
callback even if your app is in foreground/background/killed).
I've been trying to use this library (through node-pushnotifications
) but it appears the messages are being sent as display notifications. How do I change the type to data so the callback will be triggered even if the app is in the background?
Metadata
Assignees
Labels
No labels
Activity