Skip to content
Back

flutter realtime not working since version 21

  • 0
  • Self Hosted
  • Flutter
  • Realtime
Kuromory
20 Feb, 2026, 15:08

I have the problem, that in flutter the realtime does not work anymore when I upgrade the sdk to verison 21.0.0+ (works with 20.3.3) I think the queries are not correctly implemented or because I have a selfhosted appwrite instance (1.8.1) it is not yet supported?

Please help

TL;DR
Developers facing issue with Flutter Realtime functionality since version 21. Support was provided to troubleshoot and verify permissions, code structure, and data queries. The problem seemed to be with the latest SDK versions not supporting realtime triggers effectively. A potential solution was suggested to create bulk requests to trigger realtime events. The developers also discussed troubleshooting steps and possible compatibility issues with self-hosted servers. Further investigation and possible bug report were recommended to resolve the issue with Flutter Realtime not working post version 21.
Arnab Chatterjee
28 Feb, 2026, 16:30

Or bulk update

Arnab Chatterjee
28 Feb, 2026, 16:30

By making a bulk update or bulk create

Kuromory
28 Feb, 2026, 16:38

nothing...

Kuromory
28 Feb, 2026, 16:38

just tested it with a bulkUpdate

Kuromory
28 Feb, 2026, 16:42

my specs are: flutter 3.41.2 appwrite_sdk: 20.3.3 appwrite (docker): 1.8.1

I let it use a Transaction on an appwrite function and that is written with dart sdk

The operation work just the realtime not...

Kuromory
28 Feb, 2026, 16:52

@Arnab Chatterjee Should I create a ticket on github or did I do something wrong? and how long would you guys have to fix it?

Arnab Chatterjee
28 Feb, 2026, 17:05

Hey I just tested with 1.8.x bulk , it's working

Arnab Chatterjee
28 Feb, 2026, 17:05

Can you share the code as well

Arnab Chatterjee
28 Feb, 2026, 17:06

I think you aren't giving permissions correctly

Kuromory
28 Feb, 2026, 17:13

what permissions?

TypeScript
_realtimeSub = _realtime.subscribe(channels); // what I provided above
_realtimeSub!.stream.listen((event)=> print(event));
Kuromory
28 Feb, 2026, 17:15

Permissions are all ticked (crud) on table bases, rows security is disabled

Kuromory
28 Feb, 2026, 17:17
TypeScript
{
      'action': 'bulkUpdate',
      'databaseId': databaseId,
      'tableId': tableId,
      'data': {
        'queries': queries,
        'data': data,
      },
 }
Kuromory
28 Feb, 2026, 17:19

can you give me your code? so I might can check if its the code or something else?

Kuromory
28 Feb, 2026, 17:26

I also put all in a Transaction with an appwrite Function with the dart sdk, so It is not really the client that does these requests... and I mean they work... I get the changes and everything just not a realtime event...

Arnab Chatterjee
28 Feb, 2026, 17:32
TypeScript
const rows = []
for (let index = 0; index < 99; index++) {
  rows.push({name:"name"})  
}
await tablesdb.createRows({databaseId: DATABASE_ID, tableId: ASSEMBLY_TABLE, rows:rows })

collection permission to any given

Arnab Chatterjee
28 Feb, 2026, 17:50

Also can you try outside transaction block as well once

Kuromory
28 Feb, 2026, 17:51

that works... so without transaction that works

Arnab Chatterjee
28 Feb, 2026, 17:51

Ah we got the actual bug now ๐Ÿ˜…

Kuromory
28 Feb, 2026, 17:53

well you are my hero anyway โค๏ธ I went crazy over that ๐Ÿ˜…

Kuromory
28 Feb, 2026, 17:54

let me test if appwrite sdk for flutter 21 works now

Kuromory
28 Feb, 2026, 17:55

that still does not work

Kuromory
28 Feb, 2026, 17:55

tested 21.4.0

Kuromory
28 Feb, 2026, 18:00

@Arnab Chatterjee Is the flutter sdk also a bug somewhere else or is really there something I need to change?

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