Terminating app, bridge is not set.
Hi guys,
I'm having this intermittent error (50%) on ios simulator reload:
<Error>: *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'bridge is not set. This is probably because you've explicitly synthesized the bridge in RNBackgroundTimer, even though it's inherited from RCTEventEmitter.'
Any ideas why this is happening? This is strange given the last release, where I don't see the synthesize of the bridge anymore.
Same issue after upgrading react native to 0.47.1
Having exactly the same issue
I'm also having this. In my case, I have a recurring task and it seems like RNBackgroundTimer tries to execute the function during the reload or something like that. Do you guys also have something similar?
I'm seeing that issue as well since I upgraded to react-native 0.47.*
I am also running into this bug, it is severely hindering the development process here; any news on it? Cheers
Same here all!
Seems to be a fix in 0.49 https://github.com/facebook/react-native/commit/1f9fc0ee3a2964b067f0848e35603475e510067c
Update: tried it out, didn't seem to do anything
Just made a pull request for this that simply prevents the crash until a better solution happens on the React Native side. At least this way we can boost the development speed a bit without those crashes happening all the time.
Fixed in #61 Thank you @reyalpsirc Released v1.3.0