0
votes

Is there any way to see number of successfully sent and failed push notifications in Firebase Cloud Messaging (FCM) ? I can see the messages sent using the Firebase console but I need to track the number of messages sent via the web app to the devices.

Google explains how to get access to statistics on android https://support.google.com/googleplay/android-developer/answer/2663268. But is there a similar way for iOS?

1
Possible duplicate of Firebase notification records/log API - AL.

1 Answers

-1
votes

In one word yes, You can do it.

Firebase API have a message_id as a response parameter. It's indicate notification is deliver or not.

message_id: String specifying a unique ID for each successfully processed message.

Please find below attached screenshots.

Firebase API Response parameter

Please do refer this reference.

Update:

You can not track user activity for notification in iOS application. If you want to implement above functionality then call any custom API and store required data into your database. You can not get any history directly.