0

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?

Doug Stevenson
  • 297,357
  • 32
  • 422
  • 441
Mili
  • 65
  • 1
  • 5
  • Possible duplicate of [Firebase notification records/log API](https://stackoverflow.com/questions/40340076/firebase-notification-records-log-api) – AL. Mar 13 '18 at 16:17

1 Answers1

-1

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.

Hitesh Surani
  • 12,733
  • 6
  • 54
  • 65
  • Thanks @iMHitesh for your reply. But My requirement is to log events for the notification. For example, when the user taps on the notification I want to log the event in my firebase portal. Is there any way for Custom events? – Mili Mar 14 '18 at 10:31
  • There is no any inbuilt functionality as per your requirement. Please refer update – Hitesh Surani Mar 14 '18 at 10:37