Skip to content
Back

Realtime not working

  • 0
  • Flutter
  • Realtime
  • Cloud
Freezman
22 Aug, 2025, 16:19

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:

TypeScript
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);
      });
TL;DR
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.
Freezman
22 Aug, 2025, 16:22

Also, the documents I've tried to edit to see whether realtime worked have the 'any' read permission

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more