Firebase通知记录/日志API [英] Firebase notification records/log API
问题描述
我通过
FCM 向多个iOS应用发送消息通过使用他们的 HTTP协议API ,
,我需要一个包含有效负载,发送时间和平台的消息记录列表,就像我可以在 Firebase通知控制台。
似乎通过HTTP API发送的消息不会被记录并显示在控制台中那些在控制台手动发送的)会发生。
我还没有找到任何与这些消息事件/日志抓取相关的API文档。 b $ b
有没有办法从FCM中获取这种消息信息?
如果您有Play开发者控制台帐户,如果您的应用程序至少在Alpha测试中,您可以使我们e 诊断和统计信息页面。然而,如果你正在寻找一个API,目前没有可用的API。
否则,我认为你需要的大部分细节(如有效载荷和时间发送)可以从您的应用程序服务器单独记录。
只是为了支持您已经在您的文章中提到的,如@FrankvanPuffelen 此处:
Firebase通知图表仅显示使用Firebase通知面板发送的消息。
目前没有公共API向观众发送通知。
目前没有API可将您自己的FCM消息添加到Firebase通知分析面板中。
I'm sending messages to several iOS Apps via FCM by using their HTTP protocol API,
and I need a list of message records including the payload, sent time, and platform like what I could monitor in the Firebase Notification Console.
It seems that messages sent via HTTP API wouldn't be recorded and shown in the console (only those sent manually in the console would).
I haven't found any API documents related to those messaging events/log fetching.
Is there a way to fetch this kind of message information from FCM?
If you have a Play Dev Console account and if your app is in at least Alpha Testing, you can make use of the Diagnostics and Statistics page. However, if you're looking for an API, there is currently no API available for it.
Otherwise, I think most of the details you need (like the payload and time sent) can be logged from your app server alone.
And just to support what you already mentioned in your post, as stated by @FrankvanPuffelen here:
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屋!