You know reconnect method is not working.But I have to reconnect to server if connection lost.What do you suggest for this ? Example:If user switches to 3g from wifi,socket.io is not reconnecting.
Or lets say the server restarts for some reason, the connection of the device is lost and doesn't reconnect itself. Is there a solution to this? Any help, appreciated.
You know reconnect method is not working.But I have to reconnect to server if connection lost.What do you suggest for this ? Example:If user switches to 3g from wifi,socket.io is not reconnecting.