Hi
I got the following log by this method :
Data-only messages
When an incoming message is "data-only" (contains no notification
option), both Android & iOS regard it as low priority and will prevent the application from waking (ignoring the message). To allow data-only messages to trigger the background handler, you must set the "priority" to "high" on Android, and enable the content-available
flag on iOS. For example, if using the Node.js firebase-admin
package to send a message:
Notifications
The device state and message contents can also determine whether a Notification will be displayed:
Foreground | Background | Quit | |
---|---|---|---|
Notification | Notification: ❌ | Notification: ✅ | Notification: ✅ |
Notification + Data | Notification: ❌ | Notification: ✅ | Notification: ✅ |
Data | Notification: ❌ | Notification: ❌ | Notification: ❌ |
Hope you can fix it or help me to understand what is wrong. thanks
react native - android
airship push notification (test send successfully it says when I try to send test message)
Comments
1 comment