socket.io-android-chat
socket.io-android-chat copied to clipboard
failed to connect
after clone this repository, I thought it should work without modifying anything and I can login to chat with socket.io but after install app and run it on my device it start to display this error (Failed to connect) and I cannot to join with my nick name , anyone have idea why this app don't work and what I must change in the code for work correctly ?
I have the same issue. After cloning the repo I had to fix a whole bunch of react-native related resource not found error, only to find the app still isn't working. I got stuck on the initial log on screen. Upon investigation I found the app isn't connecting to either the default url or the node socket.io chat sample(https://github.com/socketio/socket.io/tree/master/examples/chat). Code steps through without any errors, but the Emitter.Listener handler isn't firing at all.
Any help will be greatly appreciated.
Also having this problem :(
Same here, project seems to me quite outdated, old android support libs. After fixing all problems - I got onto Login screen, but app is basically not responding to Join button. Hmm. Url provided in demo https://socket-io-chat.now.sh is out of order.
This repo still using the early version of the socket.io-client.
if it helps anyone: make sure you update build.gradle(app or module) compile ('io.socket:socket.io-client:0.8.3') { to compile ('io.socket:socket.io-client:2.0.1') {
Please read below comment. https://github.com/nkzawa/socket.io-android-chat/issues/117#issuecomment-1168605716