如何从Firebase控制台中删除主题? (FCM) [英] How to delete a topic from Firebase Console? (FCM)

查看:175
本文介绍了如何从Firebase控制台中删除主题? (FCM)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人知道如何从Firebase控制台中删除客户主题吗? 有没有办法删除 topic 直接。即使你有一个应用程序服务器。这是我通过GCM和FCM文件后可以说。



据我了解,一个主题当有至少一个用户时被创建,并且当没有更多的用户时它也被自动删除。所以我想这样做的方式是取消订阅所有主题的订阅者。



您可以查看更多在管理服务器上的主题订阅文档(下面的两个站点几乎都说同样的事情,但我认为适当的提供一个链接到他们两个 ):



希望这有助于某种程度的帮助。干杯! :)

Does anyone know how to delete a client topic from the Firebase Console?

解决方案

There is no way to delete a topic directly. Not even if you have an app server. That's what I can say after going through the GCM and FCM documents.

The way I understand it, a topic is created when there is at least 1 subscriber and it also gets automatically deleted when there are no more subscribers. So I think the way to do this is to unsubscribe all the subscribers of that topic.

You can check more details on unsubscribing in the Managing Topic Subscriptions on the Server docs (both sites below pretty much says the same thing, but I think it's appropriate to provide a link to both of them):

Hope this helps somehow. Cheers! :)

这篇关于如何从Firebase控制台中删除主题? (FCM)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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