如何从Firebase控制台中删除主题? (FCM) [英] How to delete a topic from Firebase Console? (FCM)
问题描述
有人知道如何从Firebase控制台中删除客户主题吗? 有没有办法删除 topic
直接。即使你有一个应用程序服务器。这是我通过GCM和FCM文件后可以说。
据我了解,一个主题
当有至少一个用户时被创建,并且当没有更多的用户时它也被自动删除。所以我想这样做的方式是取消订阅所有主题
的订阅者。
您可以查看更多在管理服务器上的主题订阅文档(下面的两个站点几乎都说同样的事情,但我认为适当的提供一个链接到他们两个 ):
- https://firebase.google.com/docs/cloud-messaging/topic-messaging#managing_topic_subscriptions_from_the_server
- https://developers.google.com/cloud-messaging/topic-messaging#managing_topic_subscriptions_from_the_server
希望这有助于某种程度的帮助。干杯! :)
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):
- https://firebase.google.com/docs/cloud-messaging/topic-messaging#managing_topic_subscriptions_from_the_server
- https://developers.google.com/cloud-messaging/topic-messaging#managing_topic_subscriptions_from_the_server
Hope this helps somehow. Cheers! :)
这篇关于如何从Firebase控制台中删除主题? (FCM)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!