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
- 500 Internal Error on Free Plan Projects...
Hello Appwrite Support Team, I am experiencing a 500 Internal Server Error when trying to access my free plan projects in the Appwrite Cloud console. Project ...
- Internal 500 Error
Hi team I have two projects on the free plan currently. On the cloud console i cannot access either of them, and one of my apps that is in production is not wo...
- Domain Help
My domain estimately.me is verified in Appwrite DNS but SSL certificate keeps failing with: DNS problem: server failure at resolver looking up A for estimately....