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)


- 使用自动布局向 UIScrollView 添加动态大小的视图 2022-01-01
- 类似于 Mail.app 的 iPad 模态视图控制器? 2022-01-01
- SetOnItemSelectedListener上的微调程序错误 2022-01-01
- 在 Iphone SDK 的导航栏上添加多个按钮 2022-01-01
- 网上有没有好的 UIScrollView 教程? 2022-01-01
- URL编码Swift iOS 2022-01-01
- UITextView 内容插图 2022-01-01
- GPS状态的广播接收器? 2022-01-01
- 如何在 iPhone 模拟器中重置 NSUserDefaults 数据? 2022-01-01
- Xcode 7.3 中带有 UILabel 的 UIStackView 2022-01-01