Open zhangsir199 opened 6 years ago
this.socket = new SocketIO('http://192.168.1.12:3000', {}); connect() will not work unless add http:// prefix to host, then app will be crash when calling connect()
this.socket = new SocketIO('http://192.168.1.12:3000', {});
connect()
http://
I am also facing the same issue on android. After calling connect the app just crashes.
this.socket = new SocketIO('http://192.168.1.12:3000', {});
connect()
will not work unless addhttp://
prefix to host, then app will be crash when callingconnect()