Realtime not working in case of team permission is given to document when new document is created.
- 0
- Flutter
- Realtime
Realtime not working in case of team permission is given to document when new document is created. new document creation is not shown until i refresh the session. Any fix for this ?.
Is this cloud or self-hosted?
Could you please show your code?
self hosted.
i listen to (in lastmessage collection) document. give permission using key. All permission for document are given. but no trigger is going when new document is created. But when refreshed (new session is created) update to that document is trigger working fine. Working work perfectly if i use a userId instead of team.
I don't know much about Dart (which is what I think you're using?), but I don't see anything immediately wrong with your code - the only thing I can think of is, how are you defining RealtimeSubscription (which I assume is a type)?
And do you have any way to monitor network requests? If so, could you check to see that the WebSockets connection is being established? And do the events come in to the WebSockets connection?
This is client side code or server side, or both?
cilent side.
Recommended threads
- Help
- Realtime: Listener not triggered on upda...
I self host appwrite 1.8.1. The genereal functionallity works fine. But my realtime subscription isn't updating. I see "Received heartbeat response from realtim...
- Realtime for files() works almost well, ...
I have been trying to make use of realtime, today (14.03.26) I have pulled all the latest versions of docker images, and sdk available. Whats working: - Conn...