
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
- Listing all function deployments from a ...
I have a function with the following code. Its purpose is to delete old deployments and win back storage capacity (since there's no option in the Console that I...
- Is there migration script generation lik...
Having standards migration script is helpful. For example something like same script to apply for multiple DB - each DB for one tenant
- Synchronous function execution timed out...
Hello everyone! I know this is an old question that many of you have already asked, but I'm doing it again because I can't understand the real solution or impl...
