Closed rutvik110 closed 8 months ago
Facing same issue in our application
Any update on this issue?
Any update indeed?
@rutvik110 Did you ever find a solution to this ?
I believe this is a bug in the library and have escalated this to the engineering team for review and resolution. We'll update this issue when complete.
Thanx!
@rutvik110 Did you ever find a solution to this ?
Not really. We decided to not tackle it from our side as we were occupied with other things and this wasn't that much of a critical issue in our case.
In order to receive data the published payload must contain an [info] key in the [data] key:
{
"interests":["hello"],
"apns": {
"aps": {
"alert": {"title":"Hello", "body":"Hello, world!"},
},
"data": {
"info": { "name": "george" }
}
},
"fcm": {
"notification": {"title":"Hello", "body":"Hello, world!"},
"data": {
"info": { "name": "george" }
}
}
}
Description
I'm not able to receive the notification message that opened the app from terminated state. I'm trying to use
getInitialMessage
, but its not returning the notification data but returns null.This is currently tested on ios, I'll check on android once and add the android stats later.