You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using socket dependency "io.socket:socket.io-client:0.8.3"
and the server version is 2.3.0.
In our product, we use to emit socket from web panel and Android app listens to it and performs an action, but in random cases, socket does not listen.
Some code snippets are -
private val options by lazy { IO.Options().apply { reconnection = true timeout = 60000 } }
private val socket by lazy { IO.socket(baseUrl, options) }
Need help to resolve this issue.
The text was updated successfully, but these errors were encountered:
@darrachequesne
Also tried with the latest version but then it starts disconnecting with errors like - Socket error io.socket.engineio.client.EngineIOException: xhr poll error
even after adding transports - private val transportsList = arrayOf(Polling.NAME, PollingXHR.NAME, WebSocket.NAME)
We have found one scenario when the user logs in then the sockets do not listen. But when user kills the app and relaunches the app then sockets start listening.
I am using socket dependency "io.socket:socket.io-client:0.8.3"
and the server version is 2.3.0.
In our product, we use to emit socket from web panel and Android app listens to it and performs an action, but in random cases, socket does not listen.
Some code snippets are -
private val options by lazy { IO.Options().apply { reconnection = true timeout = 60000 } }
private val socket by lazy { IO.socket(baseUrl, options) }
Need help to resolve this issue.
The text was updated successfully, but these errors were encountered: