Rank 2: Process
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 ?.
Votes
0
Replies
8
Participants
Unknown
Messages
9
Rank 2: Process
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?
Rank 2: Process
self hosted.
Rank 2: Process
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?
Rank 2: Process
cilent side.