How to delete a topic from Firebase Console? (FCM)(如何从 Firebase 控制台中删除主题?(FCM))
问题描述
有人知道如何从 Firebase 控制台中删除客户端主题吗?
没有办法直接删除一个topic
.即使你有一个应用服务器也不是.看完 GCM 和 FCM 文档后我能说的就是这些了.</p>
按照我的理解,当有至少 1 个订阅者时创建一个 topic
,当没有更多订阅者时它也会自动删除.所以我认为这样做的方法是取消订阅该 topic
的所有订阅者.
您可以在 管理服务器上的主题订阅 文档中查看有关退订的更多详细信息(下面的两个站点几乎都说了同样的话,但我认为提供指向他们俩):
- 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)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:如何从 Firebase 控制台中删除主题?(FCM)


基础教程推荐
- Kivy Buildozer 无法构建 apk,命令失败:./distribute.sh -m “kivy"d 2022-01-01
- 当从同一个组件调用时,两个 IBAction 触发的顺序是什么? 2022-01-01
- Android:对话框关闭而不调用关闭 2022-01-01
- android 应用程序已发布,但在 google play 中找不到 2022-01-01
- 如何在没有IB的情况下将2个按钮添加到右侧的UINavigationbar? 2022-01-01
- 在 gmail 中为 ios 应用程序检索朋友的朋友 2022-01-01
- UIWebView 委托方法 shouldStartLoadWithRequest:在 WKWebView 中等效? 2022-01-01
- 如何在 UIImageView 中异步加载图像? 2022-01-01
- 如何在 iPhone 上显示来自 API 的 HTML 文本? 2022-01-01
- 如何让对象对 Cocos2D 中的触摸做出反应? 2022-01-01