hello, in my code, Realtime functions does not work, other times it will work, i first thought it was due to unstable internet connection, so i created a question and i was told to use connective_plus package to use to detect the connection of the network then subscribe again, which i did and it work.
but now, the realtime will not even work, sometimes it will, the pattern is not consistent
here is my code below
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;
}```
here is how i listen to it
Recommended threads
- Appwrite Cloud project is paused and nev...
Hi Appwrite Team & Community, I am facing a problem with one of my Appwrite Cloud projects which seems to be identical to the other cases of "paused projects" ...
- Timed out waiting for runtime error
execution id 6a3e0791978712d81ee0 im having issue with appwrite function runtime performance. even after 4gbram and cpu same function sometimes completes in a...
- Project auto-blocked after load testing ...
Hi team ๐ My project has been automatically blocked with the message: "Project is currently blocked โ Access to this project is restricted. Contact support if...