
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
- Can't Login to Cloud Account
Dear <@870607367597850624> I used one of my Email account (hassanmrwt@gmail.com) for Cloud but that is not in my access now. System is prompting me to verify E...
- Function scheduling is not functional on...
Hello everyone! I'm using Appwrite Cloud and I have a function that runs every day at 00:00 UTC. Preciously it worked fine, but it didn't fire last night and i...
- CORS error only on tables db api After u...
I've recently updated my self hosted appwrite instance to the 1.8.0 and updated my frontend with the tables db apis but strangely, even if I'm able to log in, g...
