pusher / pusher-websocket-react-native

React Native official Pusher SDK
MIT License
61 stars 52 forks source link

Application crash #153

Open rahul-s-1110 opened 5 months ago

rahul-s-1110 commented 5 months ago

Fatal Exception: NSInternalInconsistencyException Error when sending event: PusherReactNative:onConnectionStateChange with body: { currentState = disconnected; previousState = disconnecting; }. RCTCallableJSModules is not set. This is probably because you've explicitly synthesized the RCTCallableJSModules in PusherWebsocketReactNative, even though it's inherited from RCTEventEmitter.

application is getting crash when I put application to background mode than 1-2 hour later coming from background mode to foreground application is getting crash.

benw-pusher commented 5 months ago

Can you share the version in use? I believe we resolved some instances of this error in our latest releases

rahul-s-1110 commented 5 months ago

@benw-pusher I'm using

@pusher/pusher-websocket-react-native : ^1.3.0 react native : 0.72.5