一个应用实例可以在FCM中订阅多少个主题? [英] How many topics an app instance can subscribe in FCM?

查看:75
本文介绍了一个应用实例可以在FCM中订阅多少个主题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如FCM文档中所述,可以为一个Firebase应用程序创建无限的主题.但是,由于 Firebase Admin SDK文档:解释了一个错误:

As mentioned in FCM documents, unlimited topic can be created for one Firebase application. But as the Firebase Admin SDK document: explains an error:

消息/主题太多:-注册令牌已订阅了最多主题数,无法再订阅.

messaging/too-many-topics:- A registration token has been subscribed to the maximum number of topics and cannot be subscribed to any more.

我找不到最大主题数的阈值.谁能解释,极限是多少? 一个应用实例可以在FCM中订阅多少个主题?

I was not able to find this threshold value of maximum number of topics. Can anybody explain, what is the limit? How many topics an app instance can subscribe to in FCM?

推荐答案

我通过运行应用程序实例的订阅脚本找到了答案.订阅1999年的主题后,对于下一个订阅,它开始出现错误: messaging/too-many-topics .

I found the answer by running a subscription script for an app instance. After subscribing to 1999 topics, for the next subscription it started giving error: messaging/too-many-topics.

所以阈值是1999 .

这篇关于一个应用实例可以在FCM中订阅多少个主题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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