Hey I nned some help with realtime a gain. I was using client.subscribe(...), and i found out that its depricated then i believe realtime.subscribe(...) is the way but still it failed as well. previously i have been using client.subscribe(...) and it was working well but now nothing works. Plus I couldnt find realtime.subscribe(...) option in the docs. Thanks for all your help and advise in advance 😁
Summary
Users were experiencing issues with realtime connections, receiving 'Realtime disconnected' errors. The thread discussed various strategies and potential causes, including possible CORS issues and connection initialization in different files.
However, a temporary solution was suggested by adding 'localhost' to platforms, which seemed to resolve the problem for some users. Finally, some users confirmed that after applying this temporary fix, their app was functioning correctly both locally and in production. It was mentioned that a permanent fix would be implemented, and users agreed to update the thread once the issue was resolved.
Am currently on "appwrite": "^21.5.0", Is there any config update that is not yet available in the docs or .... Cause realtime is still very broken 🙏🏼🙏🏼