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
Summary
Realtime not working in Flutter since version 21, error with client jwt token. API keys working fine. Default permissions are set correctly. No errors in appwrite-realtime logs, only connection open/close messages. Issue possibly related to queries, but not confirmed. Webhooks and functions not being triggered. Realtime events not updating from Flutter app, only from console. Possible solution pending update to version 1.8.x for fix.
Permissions are all ticked (crud) on table bases, rows security is disabled
Kuromory
Rank 3: Container
Feb 28, 2026, 17:17
Dart
{
'action': 'bulkUpdate',
'databaseId': databaseId,
'tableId': tableId,
'data': {
'queries': queries,
'data': data,
},
}
Kuromory
Rank 3: Container
Feb 28, 2026, 17:19
can you give me your code? so I might can check if its the code or something else?
Kuromory
Rank 3: Container
Feb 28, 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
Core
Feb 28, 2026, 17:32
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
Core
Feb 28, 2026, 17:50
Also can you try outside transaction block as well once
Kuromory
Rank 3: Container
Feb 28, 2026, 17:51
that works... so without transaction that works
Arnab Chatterjee
Core
Feb 28, 2026, 17:51
Ah we got the actual bug now 😅
Kuromory
Rank 3: Container
Feb 28, 2026, 17:53
well you are my hero anyway ❤️
I went crazy over that 😅
Kuromory
Rank 3: Container
Feb 28, 2026, 17:54
let me test if appwrite sdk for flutter 21 works now
Kuromory
Rank 3: Container
Feb 28, 2026, 17:55
that still does not work
Kuromory
Rank 3: Container
Feb 28, 2026, 17:55
tested 21.4.0
Kuromory
Rank 3: Container
Feb 28, 2026, 18:00
@Arnab Chatterjee Is the flutter sdk also a bug somewhere else or is really there something I need to change?