
Hello, everyone!
I'm using Flutter + Appwrite + Realtime. My Realtime instance listens to changes made to a particular Collection. This works fine.
Now I have the following situation: Realtime stops listening to changes in the collection after WiFi was switch on/off. It doesn't automatically recover. Creating a new instance of Realtime makes it working again (after closing/cancelling the current instance first).
I was wondering, is it normal behaviour that Realtime stops working after disconnecting Internet connectivity? And what's the best practice in such situation? Are we supposed to keep track of connection status manually and create a new instance every time the user disconnects/reconnects WiFi?
Thanks for reading!

Yes, this is expected. You might want to resubscribe after connecting to the internet again.

Thanks! π

[SOLVED] Losing Realtime connection after switching WiFi on/off
Recommended threads
- Flutter OAuth2 Google does not return to...
When the flow starts, the browser opens, I select an account, and it keeps showing: """ Page not found The page you're looking for doesn't exist. `general_rout...
- Realtime Disconnects and Error: INVALID_...
Hi! I just want to ask here if there's any workaround with the disconnect issues we're encountering when subscribing to realtime events in react native using ex...
- Redirect URL sends HTTP instead of HTTPS...
I am not sure since when this issue is present, but my Google and Apple redirect URI are no longer pointing to the HTTPS redirect URI when I try to use OAuth. ...
