gcrabtree / react-native-socketio

Not Maintained! A React Native wrapper for both the Swift and Java Socket.Io clients.
MIT License
152 stars 55 forks source link

self.bridge.eventDispatcher().sendDeviceEventWithName #9

Open Darkhorse-Fraternity opened 8 years ago

Darkhorse-Fraternity commented 8 years ago

when i refresh js ,it crash , the bug is in onAnyEventHandler -> self.bridge.eventDispatcher().sendDeviceEventWithName("socketEvent",body: ["name": sock.event, "items": items])

it report EXC-BAD-INSTRUCTION(CODE=EXCI386_INVOP,subcode=0x0)

awinogrodzki commented 8 years ago

+1

asyne commented 8 years ago

@Darkhorse-Fraternity @awinogrodzki I got a quick hot-fix for this in my fork. You can switch to my repo for a while: $ npm i -S https://github.com/JustBlah/react-native-socketio.git\#ios-fix