react-native-socketio
react-native-socketio copied to clipboard
React Native 0.29+ compatibility
There is some issues with Socket.swift file which is deprecated with the newest version of RN and Swift, this sometimes causes crashes in development environment and prevents smooth debugging. Also I had many issues to install the libraries with Xcode. Maybe it's a good idea to use RNPM library to link it automatically?
How did you solve the issues in Socket.swift?
I got ...react-native-socketio/ios/RNSwiftSocketIO/Socket.swift:67:21: Method 'eventDispatcher' was used as a property; add () to call it
I made a PR that makes this library compatible with RN 0.29+ plus some other things like multiple event handlers/socket support: https://github.com/gcrabtree/react-native-socketio/pull/46 Hope it lands.