I have implemented the use of real time connection in my school project that is built with React Native and Expo. I have followed the documentation from the site that shows on how to unsubscribe. From what I have gathered from other sources and videos explaining its use when doing so in React calling it in a cleanup function should and does prevent more connections from being made to the same event. The problem that I am having is not being able to disconnect the real time connection when the unmount occurs when the current screen is not in focus. Is there something else that I am missing that I need to do? The docs seem like it should disconnect from it, maybe it should and react/react native does something differently that I do not know.
Recommended threads
- Transaction feature is not working somet...
I am getting the below error sometimes and sometimes it is working perfectly fine. Transaction failed: AppwriteException: transaction_not_found, Transaction wi...
- Appwrite Push Notifications: "Unknown er...
Hi all, I'm running into an issue with Appwrite push notifications in my web project. When I try to manually send a notification to a user from the Appwrite we...
- Updating to 1.9.0
Docs are lacking, I've already run in to some issues: - Firstly the web UI port doesn't work... had to add ```--http-port=9999``` in to the docker run command t...