获取Firebase通知列表? [英] Get list of Firebase notifications?

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

问题描述

是否可以查看通过Firebase发送的所有通知?

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

我在文档或其他任何地方都找不到任何内容.

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

如果可以通过控制台实现,那就太酷了,但是HTTP也可以!有什么想法吗?

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

推荐答案

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

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:

从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控制台本身.在左侧面板中,只需在 Notifications 上选择,您将看到使用控制台发送的Notifications列表.

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.

一种方法也是利用Google Play开发者控制台,但该应用程序至少应在Alpha测试中.

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

Kinda类似帖子:

Kinda similar posts:

  • Firebase Cloud Messaging Statistics API
  • Firebase notification records/log API

这篇关于获取Firebase通知列表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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