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
- Query Appwrite
Hello, I have a question regarding Queries in Appwrite. If I have a string "YYYY-MM", how can I query the $createdAt column to match this filter?
- Different appwrite IDs are getting expos...
File_URL_FORMAT= https://cloud.appwrite.io/v1/storage/buckets/[BUCKET_ID]/files/[FILE_ID]/preview?project=[PROJECT_ID] I'm trying to access files in my web app...
- Invalid document structure: missing requ...
I just pick up my code that's working a week ago, and now I got this error: ``` code: 400, type: 'document_invalid_structure', response: { message: 'Inv...