I am using fcm to send notification to ios and android. The notification payload is like
{
"to":"APA91bFOrqYNhaZxlmAk-........",
"priority":"high",
"notification":{
"body":"this is game notification",
"title":"hi",
"icon" : "myIcon"
},
"data" : {
"name" : "XYYZ",
"company" : "ABC Pvt Ltd",
"Country":"India"
}
}
The Problem is most of the time data
is not being received by the android device. So how can I know if the data was properly sent to the device? Is it FCM problem or android side problem?