问题
How can I eliminate the opportunity of an app user to call FirebaseMessaging.subscribeToTopic(String)
in order to handle topic management only server side?
回答1:
Firebase Cloud Messaging topics are public. There is no way to prevent specific users from subscribing to them.
来源:https://stackoverflow.com/questions/44615006/forbid-users-to-subscribe-to-firebase-topics