Firebase 云消息统计 API [英] Firebase Cloud Messaging Statistics API

查看:27
本文介绍了Firebase 云消息统计 API的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用应用服务器通过 Firebase Cloud Messaging 发送消息.Firebase 控制台不会列出应用服务器发送的此类消息.当我直接使用 Firebase 控制台发送消息时,它会显示对自己的消息的一些分析.

像这样:

问题是,我在使用应用服务器时如何访问消息统计信息?

解决方案

截至 2018 年 8 月(在

<小时>

2018 年 8 月之前:

Firebase 通知图表仅显示使用 Firebase 通知面板发送的消息的分析.

目前没有向受众发送通知的公共 API.控制台中的 Web 界面是发送它们的唯一方式.

目前没有 API 可将您自己的 FCM 消息输入 Firebase 通知分析面板.

I'm using an application server to send messages by Firebase Cloud Messaging. Firebase console does not list such a message which sent by app server. When I use Firebase console directly to send messages, it will display some analysis on its own messages.

Like this:

The questions is, how can I access message statistics when I'm using an app servers?

解决方案

As of August 2018 (announced in this blog post), API send stats can be viewed in the "Reports" tab of the FCM console. By default it only shows notification type messages, so if you're only sending data messages with the API, be sure to choose the "Data" filter.


Before August 2018:

The Firebase Notifications charts only show analytics for messages that were sent using the Firebase Notifications panel.

There is currently no public API to send Notifications to audiences. The web interface in the console is the only way to send them.

There is currently no API to feed your own FCM messages into the Firebase Notifications analytics panels.

这篇关于Firebase 云消息统计 API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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