I just wanted to know how is realtime subscription supposed to be used. If I have to watch 3 different collections A B and C. Should I request a realtime subscription passing an array with all 3 collections or can I request each collection as and when its required.
I have noticed that when I request realtime subscription for the 2nd collection the earlier subscription stops receiving realtime messages.
Is that expected behavior ?
Summary
The user is asking about a bug in the Flutter SDK where subscribing multiple times breaks the connection. The solution suggested is to use separate realtime instances at the moment. The user also inquires about how to use realtime subscription for multiple collections and mentions that when subscribing to a second collection, the earlier subscription stops receiving realtime messages. The user wants to know if this is the expected behavior. There is no solution provided in the thread.
Drake
Nov 5, 2023, 21:38
There's a bug in the flutter sdk where subscribing multiple times breaks the connection. You'll have to use separate realtime instances at the moment
punti_z
Rank 3: Container
Nov 5, 2023, 21:41
Thanks for clarifying Steven, any github issue I can upvote ? Is this an issue being worked on ?