Reputation: 43
Is it possible to know how many Instance ID tokens have been subscribed to a topic with the Firebase API?
Upvotes: 2
Views: 1549
Reputation: 926
Best idea is to consider implementing a simple counter/s in Firebase Realtime Database from your application whenever a user subscribes/unsubscribed from a topic you define. You can then query the variable/s however you wish.
Upvotes: 0
Reputation: 9225
Currently no, you have to keep track of what topics an IID is subscribed to yourself.
Upvotes: 2