FCM - Add easy way to get all subscribed topics or simply unsubscribe from all topics. #6563
Unanswered
safield
asked this question in
Feature request
Replies: 1 comment
-
Right @safield I'm looking for similar functionality and I feel this can reduce programming efforts (frontend and backend) for sending notifications in multi tenant applications |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently, the only way for me to unsubscribe from all subscribed topics using FCM in my flutter app, is to locally store all the previously subscribed topics. This is not ideal as it is duplicating data, and could result in bugs where my local storage of subscribed topics goes out of sync with the actual subscribed topics.
FlutterFire fcm library should expose a method getSubscribedTopics() which returns all of the subscribed topics. Or alternatively, provide a method called unsubscribeFromAllTopics, though this would be less flexible.
Beta Was this translation helpful? Give feedback.
All reactions