Reputation: 1891
I have the following scenario.
One problem with above steps is that lot of data writes takes place, which increases billing. I want to optimize it by changing step 2.
To do this optimisation I need a way to know if app is listening to realtime update. So is there a FireStore event/callback fired when app starts/stops to listen to realtime update.
Upvotes: 0
Views: 249
Reputation: 598901
There's nothing built into Firestore for this.
Two options that come to mind:
Upvotes: 1