ocetnik / react-native-background-timer

Emit event periodically (even when app is in the background)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Terminating app due to uncaught exception NSInternalInconsistencyException

erksch opened this issue · comments

On iOS when we are in debug mode and want to reload js code, the app crashes with the following error during reload:

Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Error when sending event: backgroundTimer.timeout with body: 1. RCTCallableJSModules is not set. This is probably because you've explicitly synthesized the RCTCallableJSModules in RNBackgroundTimer, even though it's inherited from RCTEventEmitter.'

Version: 2.4.1
React Native version: 0.66.4

Don't know if this is related but we have implemented an RCTBridgeDelegate to load extraModules for our app.