Open thully opened 7 years ago
Socket disconnect if Android mobile is in PowerSaving Mode If mobile is in powerSaving mode Socket Always trigle on reconnecting event 1:-Code is in service 2:-If turn Off the powerSaving mode Socket working fine Any Solution?
While using the socket.io-client-java package in an Android app running on the emulator, I've encountered an issue with the timeout event. When using timeout values under 10000 ms (higher values aren't working at all in the timeout handler, per #413), on timeout I get both a Socket.EVENT_CONNECT_TIMEOUT event as well as a Socket.EVENT_CONNECT_ERROR event, the latter of which has the following text:
io.socket.client.SocketIOException: timeout
This event seems redundant with the EVENT_CONNECT_TIMEOUT event, and seems like it should be suppressed.