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
- Realtime not working for some tables
Hi, I've got an issue where I can setup a realtime connection to listen to some tables, but some not all. I have two tables `history` and `users`. Both can be ...
- SSR share session to client using custom...
Hi, so I was trying to get a hang of using SSR and using realtime updates in the same time which is done easiest if you have a custom domain in Appwrite and as ...
- Push Notification FCM Error
Hello dear people. I tried to integrate Push Notifications into my Flutter App. Everything works fine on Android/iOS Simulator + Testflight but as soon as I s...