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
- How to send Webhooks to internal network
When saving the URL for sending Webhooks, Appwrite checks if it's a valid external domain name so entering internal IP address or docker hostnames won't save th...
- Collections list not showing up when try...
I'm trying to create new relationship attribute but both one way and two way relationship is not showing up collections list to connect with my relationship att...
- I have try to use the appwrite in to the...
Invalid Origin. Register your new client (oailedjdbkhlkakmnnapoonllbnfmfij) as a new Web (Chrome Extension) platform on your project console dashboard