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
- SPA Not working
So I'm using vite/react, which is spa, and it used to work before, but now whenever I go to any route except the root it shows appwrites 404 page, instead of us...
- Get Started - Web is broken
Trying to complete the get started tasks since the "66%" was finally getting to me, and clicked on "web", was met with: ``` Uncaught TypeError: Cannot read prop...
- Database AI Column Suggestion Use Case
I tried using the AI column suggestion feature. For me, I prefer writing my column design separately in a notepad. Then my intention is to paste it into the AI ...