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
- Download appwrite Docs
Is there is a way to download appwrite Docs ? Because appwrite skill isn't enough to give the agent full understanding about how appwrite works (I noticed this ...
- Appwrite Cloud Project shutdown due to i...
My appwrite projects gets shut down saying due to inactivity, but our platform gets users everyday with many requests to database and storage. so why all of a s...
- Impossible to get USER after createEmail...
Am using provider to deal with functions linked to appwrite. Here is my login. Future<String?> login(String email, String password) async { try { aw...