Home > Software design >  How do I find out what Firestore snapshot listeners are still active in my iOS app?
How do I find out what Firestore snapshot listeners are still active in my iOS app?

Time:01-08

I'm currently implementing snapshot listeners in my app, and want to print out a list of active listeners (in my Firebase console I see that I have 2, but it doesn't have any more data than that). Is there a property in my iOS app that I can access or print to find out?

enter image description here

CodePudding user response:

No. You should record for yourself which listeners are active at any given moment. You might want to consider writing a wrapper library for yourself to make this easier to apply to your entire app.

  •  Tags:  
  • Related