In my project, i make use of realtime, there are case where user internet connection is not stable and this time cant get any update from Appwrite, but once the user Internet network is stable, the realtime update does not takes effect, and i don't know how to refresh this page so the new update data should be shown to user
i'm using Flutter & Appwrite Cloud, please what can i do to ensure that once the user internet its stable, the new data is shown to user?
here is my code
final liveStreamApi = ref.watch(liveStreamApiProvider);
return liveStreamApi.getLatestLiveStreamers(myUserId: userId);
});```
```@override
Stream<RealtimeMessage> getLatestLiveStreamers({required String myUserId}) {
return _realTime.subscribe(['databases.${Common.dataBasesId}.collections.${Common.collectionLiveStreamingId}.documents']).stream;
}```
this is how i listen to to it
is there anything i'm not doing well ?
Recommended threads
- Cloud function deploy stucks in processi...
Been trying for the last hours to deploy my function but for whatever reason, alwasy stuck on processing!
- One-time Cloud migration blocked by data...
Hi, I’m blocked on a one-time migration from Appwrite Cloud to my self-hosted Appwrite instance. We already fixed the region issue, and the migration now corre...
- [SOLVED] curl error Number: 6 — function...
Hello, I invested a lot of time in this error in a fresh install of appwrite 1.8.1 and lasted until fix, this if for helping anyone that can have the same weird...