FreezmanOriginal post
Flutter Developer
Hi! I'm using Appwrite cloud for my flutter project and realtime. However, today I've been having some weird problem with realtime where events aren't always being sent, to the point where now I receive none of them. I was wondering if anyone encountered the same issue. For reference, here is my code:
Dart
final Client client = Client() ..setEndpoint('https://cloud.appwrite.io/v1') ..setProject('xxx');
final Account account = Account(client);await account.createAnonymousSession(); final Realtime realtime = Realtime(client); realtime .subscribe([ 'documents', 'collections', 'databases.*.collections.*.documents', ]) .stream .listen((event) { print(event); });Summary
Realtime events are not working as expected for this Flutter project using Appwrite Cloud. The developer is seeking assistance as events are not being sent at all. The developer included their code snippet for reference. The issue could be related to permissions or server connection.