SocketCluster / socketcluster-client

JavaScript client for SocketCluster
MIT License
291 stars 92 forks source link

RN: Could not invoke WebSocketModule.connect #55

Closed pewh closed 8 years ago

pewh commented 8 years ago

It didn't work on React Native.

1 Tested on RN 0.29.2.

jondubois commented 8 years ago

@pewh Strange. None of these lines refer to SocketCluster code. Could this be an issue with RN itself?

It looks very similar to this issue: https://github.com/facebook/react-native/issues/5969

pewh commented 8 years ago

Yes. It seems an issue by RN itself. I reproduce that error by create new RN starter & add const ws = new WebSocket('ws://anything-host').

I'm not sure if it's related with facebook/react-native#5969, but I'll close this.

jondubois commented 8 years ago

@pewh Feel free to post here if you find a solution to this problem.