5

I'm using Firebase on iOS and am trying to implement Topics. I know how to subscribe and unsubscribe:

Messaging.messaging().subscribe(toTopic: "myTopic")

Messaging.messaging().unsubscribe(fromTopic: "myTopic")

My question is, how do I know what topics I am subscribed to? How do I unsubscribe to all topics I am subscribed to? How do I access all topics from Firebase?

KENdi
  • 7,670
  • 2
  • 15
  • 27
user7097242
  • 924
  • 1
  • 15
  • 28
  • 1
    This is a question about Android, but the process is the same: https://stackoverflow.com/questions/37987821/get-all-subscribed-topics-from-firebase-cloud-messaging – dalton_c Sep 14 '17 at 22:27
  • Check my answer maybe it helps: https://stackoverflow.com/questions/39623742/firebase-cloud-messaging-check-existing-or-available-topics/47835917#47835917 – Eduardo Irias Dec 15 '17 at 16:03

0 Answers0