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
- Apple OAuth Scopes
Hi Hi, I've configured sign in with apple and this is the response i'm getting from apple once i've signed in. I cant find anywhere I set scopes. I remember se...
- Sign In With Apple OAuth Help
Hi All! I've got a flutter & appwrite app which Im trying to use sign in with apple for. I already have sign in with google working and the function is the sam...
- [SOLVED] OAuth With Google & Flutter
Hi all, I'm trying to sign in with google and it all goes swimmingly until the call back. I get a new user created on the appwrite dashboard however the flutte...