I discovered that the stream of connection between database and client will always close when the internet mobile data is put off. How do I auto restart that, when the data is put on or make sure that the stream of connection is consistent
You'll have to do that yourself by listening to network changes and then subscribing again
okay, any hint?
Depending on your platform, you'll have to use something like a network listener. For Android & iOS, there are already libraries out there on GitHub.
Okay, though am using Flutter for my app
Check this: https://pub.dev/packages/connectivity_plus/
I appreciate you @darShan Thanks
You're also a flutter dev?
I've used Flutter for some projects and hackathons, but have been off from it for quite some time now.
Ooo, I see
Recommended threads
- Free plan Usage
I using a free plan with one organization. I have three projects but on the free plan I should be able to have 2 projects running But in my case only 1 out of ...
- Subscription Problem
I'm making an app in RN with Expo and Appwrite and there's a functionality which allows the user to create a task/test (i'll be reffering to them collectively a...
- Database AI Column Suggestion Use Case
I tried using the AI column suggestion feature. For me, I prefer writing my column design separately in a notepad. Then my intention is to paste it into the AI ...