I already received a realtime connection in my appwrite console:
void subscribe() {
final subscription2 = AppwriteClient.instance.realtime.subscribe(
[
// ignore: lines_longer_than_80_chars
'databases.${AppwriteClient.instance.taramedDatabaseId}.collections.${AppwriteClient.instance.consultationLogCollectionId}.documents',
],
);
subscription2.stream.listen((event) {
print('event $event');
});
// _subscription = ref
// .read(consultationRepoProvider)
// .getConsultationLogStream()
// .listen((consultationLog) => _consultationLogListener(consultationLog),
// onError: _consultationErrorListener, cancelOnError: true);
}
But still I cant receive any data
First time you establish the connection you don't get any data
Once you have an active realtime connection, then you start receiving changes
@Mosh Ontong Was that your issue or you still don't receive anything after the connection is stabilised and a change is performed meanwhile the connection is alive?
I received already but sometimes qhen the app screen stayed atleast 3 to 5 monites the realtime connection is not working again I need to refresh my screen so that it will reconnect to realtime
I think we have the same issue
Recommended threads
- TEAM INVITE
There is a problem with the team invitation. When a user invites other users, that time, the newly created email address they don't get the invite link and old ...
- education plan not activated
Hi I have an edu id 13103046@iubat.edu but when I am trying to claim my plan and trying to logging with github where education student plan active. the appwrite...
- 500 simultaneous OAuth logins from the s...
Hi, I'd like to ask about rate limiting around Google OAuth login on Appwrite Cloud. **OVERVIEW** Service type: A PWA (web app) for members of a university clu...