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
- Cant configure email templates
i configure it on the console, and when i send the OTP, it sends with appwrite's email (instead of custom smtp) and with the branding, but i have the Pro (educa...
- Need help with createExecution function
Hi, Need some help understanding createExecution. When requesting function execution via createExecution, the function handler arguments are incorrect and rese...
- Need Help with Google OAuth2 in Expo usi...
I'm learning React Native with Expo and trying to set up Google OAuth2 with Appwrite. I couldn't find any good docs or tutorials for this and my own attempt did...