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
- Current User is Not authorized
recreating same Thread
- Apple OAuth Scopes
Hi Hi, I've configured sign in with apple and this is the response i'm getting from apple once i've signed in. I cant find anywhere I set scopes. I remember se...
- Sign In With Apple OAuth Help
Hi All! I've got a flutter & appwrite app which Im trying to use sign in with apple for. I already have sign in with google working and the function is the sam...