REST API上按主题的Firebase通知计数限制 [英] Firebase notification count restriction by topic on REST API

查看:110
本文介绍了REST API上按主题的Firebase通知计数限制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

从我的Google搜索中,我们只能从FCM控制台向所有用户发送通知.当前,REST API中不支持该功能.

From my google search, we can send notifications to all users only from FCM console. Currently there is no support for that in REST API.

但是我们可以在REST API中指定一个主题,订阅该主题的人都会收到通知.

But we can specify a topic in REST API and whoever subscribed to that topic will get the notification.

对单个主题的用户计数是否有任何限制.如果1万用户订阅了该主题,并且REST API选择了该主题以发送通知,该怎么办. FCM会向所有1万用户发送通知吗?

Is there any restriction on user count on a single topic. What if 10k users subscribed to the topic and REST API choose that topic to send the notification. Will FCM send notification to all 10k users?

我之所以这样问,是因为当我尝试按主题从控制台发送通知时,它会显示 < 1000个估计的用户" .请参见下面的屏幕截图.

I'm asking this because when i try to send notification from console by topic it shows "<1000 estimated users". See below screenshot.

推荐答案

可以订阅主题的用户数量没有限制.

There is no restriction on the number of users that can subscribe a topic.

在屏幕快照中,注释< 1000 estimated users表示FCM 估计,只有不到1000个用户订阅了该特定主题. 此注释可以帮助您了解,如果继续并发送给该主题,会有多少人会收到该消息.

In your screenshot the annotation < 1000 estimated users means that FCM estimated that less than 1000 users have subscribed the specific topic. This annotation can help you understand how many people will receive the message if you proceed and send to that topic.

这篇关于REST API上按主题的Firebase通知计数限制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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