How to delete a topic from Firebase Console? (FCM)

2019-01-18 11:24发布

Does anyone know how to delete a client topic from the Firebase Console?

1条回答
仙女界的扛把子
2楼-- · 2019-01-18 11:43

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! :)

查看更多
登录 后发表回答