收到了来自Firebase云消息传递的通知,但未在云消息传递报告中显示 [英] Notification from Firebase cloud messaging are received but they are not shown in the cloud messaging reports

查看:65
本文介绍了收到了来自Firebase云消息传递的通知,但未在云消息传递报告中显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Firebase Cloud Messaging将通知发送到我的android设备.在我的项目控制台的报告"部分中,我收到了0条消息,发送了100条消息.问题是我实际上在设备上收到了通知,但是为什么它们没有出现在云消息传递报告中?

I'm using Firebase Cloud Messaging to send notification to my android device. In my project console in the section "reports" I have 0 message received and 100 sended. The problem is that I actually received the notifications on my device but why do not they appear in the cloud messaging reports?

我该如何解决这个问题?

How can i solve this problem?

推荐答案

原因是有关已发送消息的统计信息是实时更新的,而不是已接收,印象和打开的消息的统计信息.我第二天得到这些统计数据.

The reason is that statistic about message sended are updated in real-time, instead received, impression and message opened do not. I get these statistic the next day.

请注意,对于数据消息",必须在消息中设置"analytics_label"字段才能查看统计信息.对于通知消息",查看统计信息不是必须的.

Please note that for "Data Message" you have to set in the message the field "analytics_label" in order to see statistics. For "Notification message" this should not be mandatory to see statistics.

这篇关于收到了来自Firebase云消息传递的通知,但未在云消息传递报告中显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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