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
Same issue here, see these issues https://discord.com/channels/564160730845151244/1465115452522102804 https://discord.com/channels/564160730845151244/1473759848096071790
Or bulk update
By making a bulk update or bulk create
nothing...
just tested it with a bulkUpdate
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...
@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?
Hey I just tested with 1.8.x bulk , it's working
Can you share the code as well
I think you aren't giving permissions correctly
what permissions?
_realtimeSub = _realtime.subscribe(channels); // what I provided above
_realtimeSub!.stream.listen((event)=> print(event));
Permissions are all ticked (crud) on table bases, rows security is disabled
{
'action': 'bulkUpdate',
'databaseId': databaseId,
'tableId': tableId,
'data': {
'queries': queries,
'data': data,
},
}
can you give me your code? so I might can check if its the code or something else?
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...
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
Also can you try outside transaction block as well once
that works... so without transaction that works
Ah we got the actual bug now 😅
well you are my hero anyway ❤️ I went crazy over that 😅
let me test if appwrite sdk for flutter 21 works now
that still does not work
tested 21.4.0
@Arnab Chatterjee Is the flutter sdk also a bug somewhere else or is really there something I need to change?
Recommended threads
- CORS errors in Obsidian custom plugin
Hi, anyone here familiar with obsidian community plugins? In short: it's a local first note app which supports writing your own add-ons / plugin But I keep get...
- Appwrite 1.9.0 doctor fails tho database...
So i was testing in a local environment the upgrade for 1.9.0, and after getting everything into a running state, i checked the logs that shows : ``` └── Cre...
- Failed to start containers.
I'm trying to install Appwrite locally but struck on the subject point. There is no clear error in logs.