socket.io-android-chat
socket.io-android-chat copied to clipboard
here is a crash for using this lib
java.lang.ArrayIndexOutOfBoundsException: length=1; index=1
at com.github.nkzawa.parseqs.ParseQS.decode(SourceFile:28)
at com.github.nkzawa.engineio.client.Socket.
version is 0.3.0. It happens When I change my WIFI.
Have the same issue. You should use the official socket.io lib, the latest one version (at this moment 1.0.0).
private void initSocket() { try { mSocket = IO.socket(SocketConstant.CHAT_SERVER_URL + "?subscription_id=" + AppUtils.getSocketKey()); } catch (URISyntaxException e) { Crashlytics.logException(e); } }