如何查看Firebase通知传递报告? [英] How to View Firebase Notification Delivery Reports?

查看:268
本文介绍了如何查看Firebase通知传递报告?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们使用Firebase向Android和iOS设备发送推送通知.我们使用Http(不是XMPP). 如何获取推送通知的交付报告?我们要检查是否已将推送发送到设备(Android和iOS). 我在Firebase控制台中看不到任何统计信息或报告.

We use Firebase to send push notifications to both Android and iOS devices. We use Http (not XMPP). How to get delivery reports for push notifications? We want to check if a push is delivered to devices (both Android and iOS). I cannot see any stats or reports in Firebase console.

请帮助.

推荐答案

我链接了可能重复的帖子 ,除了在Firebase控制台(如果您使用控制台发送消息)和使用

As seen in the Possible Duplicate Post I linked, there is currently no available reports for FCM, other than what can be seen in the Firebase Console (if you sent the message using the console) and using the Diagnostics/Statistics tool in your Play Dev Console.

目前还没有API可以检索这些FCM日志详细信息.但是,Firebase Notifications控制台最近有了改进,Firebase Notification控制台的统计信息中包含了使用FCM API发送的邮件的统计信息(仅发送计数).根据我在类似帖子中的回答:

There is no API that retrieves these FCM log details as of the moment. 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:

从2018年8月开始,现在可以从控制台看到使用FCM API发送的消息的统计信息.在 Cloud Messaging 部分中,单击 Reports 标签.从那里,您将能够按消息类型(notificationdata和所有)进行过滤

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)

展示次数打开次数似乎仍然仅适用于通过控制台发送的消息.但是,发送现在肯定可以计算使用FCM API发送的消息.

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.

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

这篇关于如何查看Firebase通知传递报告?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆