
TypeScript
void _subscribeToSubmittedMediaAppend() {
final realtime = Realtime(client);
realtimeMediaValidationSubscription = realtime.subscribe(
['databases.$appDatabase.collections.$roomMediaCollection.documents']);
// Listen to changes
realtimeMediaValidationSubscription?.stream.listen((event) {
Why doesn't this work? it's not getting called
TL;DR
Developers are trying to implement realtime updates for a specific collection in their Dart code, but the function is not being called. The issue might be related to how the `subscribe` method is being used. To fix this, developers should ensure that the subscription path is correct by verifying the database, collection, and document names. Additionally, they should double-check that the Realtime client is properly initialized and connected.Recommended threads
- Hola equipo de soporte,
Hola equipo de soporte, Estoy desarrollando una Function en Appwrite Cloud con Node.js 22 y el siguiente package.json: { "name": "upload-whitelist", "type"...
- Looking for Partner
I'm looking for partner for long-term collaborating. Of course, I'll pay for you. If you are interested, Please DM me.
- Issue - Migration From Cloud > Self Host...
Hi team, I’m trying to migrate a few of my Appwrite projects from the cloud to a self-hosted instance. These projects are currently in “archive mode” due to th...
