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

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

问题描述

有人知道如何从 Firebase 控制台中删除客户端主题吗?

解决方案

没有办法直接删除一个topic.即使你有一个应用服务器也不是.看完 GCM 和 FCM 文档后我能说的就是这些了.<​​/p>

按照我的理解,当有至少 1 个订阅者时创建一个 topic,当没有更多订阅者时它也会自动删除.所以我认为这样做的方法是取消订阅该 topic 的所有订阅者.

您可以在 管理服务器上的主题订阅 文档中查看有关退订的更多详细信息(下面的两个站点几乎都说了同样的话,但我认为提供指向他们俩):

希望这能有所帮助.干杯!:)

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天全站免登陆