I had a couple of issues with setting up this library:
the latest node.js socket.io has moved to version 3.0, which is not compatible with this library.
Fix: move node.js socket.io to version 2.3.0
OKhttp3 error with android socket.io 0.6.0, caused by incompatibility with Firestore
Fix: changed to android socket.io 0.4.2 like so implementation 'com.github.nkzawa:socket.io-client:0.4.2'
The library was not working with Android 9.0+
Fix: Had to set up a https connection.
I think it would be nice to add the fact that it doesn't work with socket.io 3.0 in the documentation.
Edit: Fixed grammar and formatting
I added a simple pull request about the documentation problem. Hopefully one of the moderators will take. As this is a common problem I am seeing under 'issues'. https://github.com/socketio/socket.io-client-java/pull/639
Version 2.0.0 is out!
The migration guide can be found here: http://socketio.github.io/socket.io-client-java/migrating_from_1_x.html
Most helpful comment
Version 2.0.0 is out!
The migration guide can be found here: http://socketio.github.io/socket.io-client-java/migrating_from_1_x.html