I got the following log by this method :
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:
The device state and message contents can also determine whether a Notification will be displayed:
|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)
Thanks for reaching out to Airship Support with your issue. It looks like you are utilizing the Firebase Messaging library.
Is it possible to remove that library and try out how the Airship SDK handles its own pushes?
Please let us know if that helps in any way.