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:
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);
});
Also, the documents I've tried to edit to see whether realtime worked have the 'any' read permission
Recommended threads
- RowList: The value of total is coming as...
RowList: The value of total is coming as a String, so it throws an error because it’s not parsed into an int. Error: TypeError: \"37\": type 'String' is not a ...
- User Blocked - False Positive
Today I tried to log in to my cloud console and it said the user is blocked and I didn't even receive any email regarding this like what kind of violation is my...
- Websocket error Realtime
Hi peeps, I am trying to create realtime updates and I am having websocket error Code is below this msg