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
- Weird permission failure
when creating an account I use following methods: ``` Future<void> register(String email, String password, String username) async { final user = await accoun...
- Appwrite Storage error 503s for automate...
I'm facing error 503s from Appwrite after about 5-6 seconds of making AI requests from my tool with images and files above 20MB (=> not inline base64 used, but ...
- Flutter Android oAuth is no more working
I currently don't get the oAuth login to work in flutter android. it works on ios and on web. but when try to use it on Android, i get to the point where the ca...