I am using fcm for push notifcation from past 5-6 days and the devices are receiving the push notifcations , but the reports in firebase console is not showing any data.
I am using sendToDevice() method of firebase messaging and the payload looks like this
"payload": {
"data": {
"appRedirectionURL": "/dashboard",
"url":"/dashboard",
"title": "Test 1",
"body": "hello",
"pushMessage":"test",
"inAppNotificationTitle":"testing ",
"inAppNotifactionBody":"hello"
}
},
You need to add analytics labels to messages. I haven't found why automatic reports don't work without it. But when I added analytics_label to my messages they started showing up in firebase console