React Native with Socket.io
<p>I'm trying to use socket.io client from react native. 
I found several answers in stack overflow including this one: <a href="https://stackoverflow.com/questions/29408492/is-it-possible-to-combine-react-native-with-socket-io">Is it possible to combine React Native with socket.io</a> 
which suggests using socket-io client and setting the navigator.userAgent to react-native.
I tried it and it doesn't work on my android, I also found a video about this in youtube but the guy got it to work on an emulator, for me once I used remote debugging it worked as well because it was on the browser I guess.</p>

<p>And I found a project on <a href="https://www.npmjs.com/package/react-native-socketio" rel="nofollow noreferrer">https://www.npmjs.com/package/react-native-socketio</a> but it is still a work in progress. 
Can someone who had to deal with this issue and managed to find a solution give out some pointers?
In the end I resorted to using react native websockets on the client side and the npm ws library on the server side which works just fine but I don't have any of the fallbacks.</p>