
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
- how many Teams can be created?
I am creating an app where I will let users create groups. This could mean there will be many groups created by user, to isolate those groups properly I am thin...
- Error Generation of certification for cu...
Hi, I tried to connect a custom domain, this worked but creating the certification afterwards fails with the following error: ```txt Failed to create TLS subsc...
- Where is tensorflow support? 3.11 ML doe...
and if i manually tried to add tensorflow i get Cannot access offset of type string on string no matter what
