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)
基础教程推荐
- Cocos2d iPhone 非矩形精灵触摸检测 2022-01-01
- iOS4 创建后台定时器 2022-01-01
- 如何从 logcat 中删除旧数据? 2022-01-01
- iPhone - 获取给定地点/时区的当前日期和时间并将其与同一地点的另一个日期/时间进行比较的正确方法 2022-01-01
- Android:getLastKnownLocation(LocationManager.NETWORK_PROVIDER 2022-01-01
- libGDX 从精灵或纹理中获取像素颜色 2022-01-01
- 通过重定向链接在 Google Play 中打开应用 2022-01-01
- AdMob 广告未在模拟器中显示 2022-01-01
- navigator.geolocation.getCurrentPosition 在 Android 浏览器上 2022-01-01
- NSString intValue 不能用于检索电话号码 2022-01-01
