How many topics can we make in Firebase Cloud Messaging?(我们可以在 Firebase 云消息传递中创建多少主题?)
问题描述
我正在构建一个使用 Firebase 云消息传递的应用.但我有一些疑问.我想知道我们可以在一个应用实例中创建多少个主题?
I'm building an app where I am using Firebase Cloud Messaging. But I have some doubts. I want to know how many topics we could make in one app instance?
在官方文档中写道
当单个应用实例订阅过多主题时
when a single app instance subscribes to an excessive number of topics
它检索到错误 TOO_MANY_TOPICS.
it retrieves error TOO_MANY_TOPICS.
我想知道允许多少个主题.我知道我们没有订阅者数量的限制,这没关系,但我想知道有多少主题我们可以在一个应用程序实例中制作吗?感谢任何帮助.
I want to know how many topics is allowed. I know that we don't have constraints about number of subscribers and that is okay, but I want to know how many topics could we make in one app instance. Appreciate any help.
推荐答案
实例可以订阅的主题数量没有硬性限制,这个限制与 FCM 的许多其他限制一样是为了防止滥用.如果一个实例订阅的主题少于几千个,您不太可能达到限制.但是,如果这还不够,并且您确实达到了订阅限制,那么我建议您联系 Firebase 支持.
There is no hard limit on the number of topics an instance can subscribe to, this limit, like many other limits on FCM are in place to prevent abuse. You are unlikely to hit the limit if an instance is subscribed to less than a few thousand topics. If however this is insufficient and you are indeed hitting the subscription limit then I'd advise that you contact Firebase Support.
这篇关于我们可以在 Firebase 云消息传递中创建多少主题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:我们可以在 Firebase 云消息传递中创建多少主题?
基础教程推荐
- Cocos2d iPhone 非矩形精灵触摸检测 2022-01-01
- AdMob 广告未在模拟器中显示 2022-01-01
- navigator.geolocation.getCurrentPosition 在 Android 浏览器上 2022-01-01
- iPhone - 获取给定地点/时区的当前日期和时间并将其与同一地点的另一个日期/时间进行比较的正确方法 2022-01-01
- 通过重定向链接在 Google Play 中打开应用 2022-01-01
- 如何从 logcat 中删除旧数据? 2022-01-01
- Android:getLastKnownLocation(LocationManager.NETWORK_PROVIDER 2022-01-01
- NSString intValue 不能用于检索电话号码 2022-01-01
- iOS4 创建后台定时器 2022-01-01
- libGDX 从精灵或纹理中获取像素颜色 2022-01-01
