It connects well first time. When I disconnect and reconnects, it's works fine too. But the problem is once connected, I turn off wifi and wait for it to get disconnected. I turn on the wifi and it never connects back again.
The error it displays is:
LOG SocketManager: Tried connecting socket when engine isn't open. Connecting
LOG SocketManager: Adding engine
LOG SocketEngine: Starting engine. Server: https://staging.test.com/
LOG SocketEngine: Handshaking
LOG SocketManager: Trying to reconnect
LOG SocketManager: Tried connecting an already active socket
LOG SocketManager: Scheduling reconnect in 30.0s
Please note that: "https://staging.test.com/" is not valid. But the actual server that I am using is a valid one.
It connects well first time. When I disconnect and reconnects, it's works fine too. But the problem is once connected, I turn off wifi and wait for it to get disconnected. I turn on the wifi and it never connects back again.
The error it displays is: LOG SocketManager: Tried connecting socket when engine isn't open. Connecting LOG SocketManager: Adding engine LOG SocketEngine: Starting engine. Server: https://staging.test.com/ LOG SocketEngine: Handshaking LOG SocketManager: Trying to reconnect LOG SocketManager: Tried connecting an already active socket LOG SocketManager: Scheduling reconnect in 30.0s
Please note that: "https://staging.test.com/" is not valid. But the actual server that I am using is a valid one.
My socket io helper class is as follows:
class SocketIOHelper {
}