gcrabtree/react-native-socketio

React Native 0.29+ compatibility

Opened this issue · 3 comments

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: #46
Hope it lands.