Get list of Firebase notifications?

2019-06-22 08:09发布

Is there a way to see all the notifications sent via Firebase?

I can't find anything in the docs or anywhere else.

It'd be cool if it is possible over the console, but HTTP would do as well! Any ideas?

1条回答
Ridiculous、
2楼-- · 2019-06-22 08:44

Unfortunately, there is no available API as of the moment to retrieve your GCM/FCM logs. However, there's been a recent improvement in the Firebase Notifications console where stats (sent count only for now) for messages sent using the FCM API is included in the Firebase Notification console stats. From my answer in the similar post:

As of August 2018, stats for messages sent using the FCM API are now visible from the console. From the Cloud Messaging section, click on the Reports tab. From there, you will be able to filter by message type (notification, data, and all)

enter image description here

It would seem that the Impressions and Opens are still only available for messages sent using the console. But Sends for sure now counts the messages sent using the FCM API.

Reference: https://firebase.googleblog.com/2018/08/in-app-messaging-crashlytics.html

As you might already know, only notifications sent via the console are visible in the Firebase Console itself. In the left-side panel, just select on the Notifications and you will see the list of Notifications sent using the console.

One approach is also to make use of the Google Play Developer Console, but the app should at least be in Alpha Testing.

Kinda similar posts:

查看更多
登录 后发表回答