reconnect after lost connection
Hi! I need reconnect to all text rooms after lost connection or after connection was refused. Please. help. How i can do it?
For this you can use connectivity package to see if connectionstate got disconnected in that event you can use saved user info to connect user back to room if connection is back on, i hope this solves your issue Closing for now you can reopen if you find bug in package itself
after reconnect i must dispose all?
Well it would be better idea to recreate new session instance and then attach the plugin on it to make sure everything is working as expected
You know what i will add it in my todo list using connectivity package and add auto reconnect in the event of disconnected network state
For the time being you can use the approach i told you
very often the socket crashes on its own. what to do in this case? while my server is working properly. the socket may just fall
I don't believe it would crash on its own unless network state has been changed
Maybe it's my mistake. I try to research. Thanks!
closing as it is not planned, it is not that urgent anyway maybe i will revisit it as an enhancement in future