react-native-background-timer icon indicating copy to clipboard operation
react-native-background-timer copied to clipboard

Terminating app, bridge is not set.

Open leonardocarvalho opened this issue 9 years ago • 9 comments

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.

leonardocarvalho avatar Jul 27 '17 04:07 leonardocarvalho

Same issue after upgrading react native to 0.47.1

ghost avatar Aug 03 '17 04:08 ghost

Having exactly the same issue

dnish avatar Aug 03 '17 13:08 dnish

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?

reyalpsirc avatar Aug 24 '17 16:08 reyalpsirc

I'm seeing that issue as well since I upgraded to react-native 0.47.*

SudoPlz avatar Aug 31 '17 19:08 SudoPlz

I am also running into this bug, it is severely hindering the development process here; any news on it? Cheers

NonkelDaniel avatar Sep 25 '17 07:09 NonkelDaniel

Same here all!

hhff avatar Sep 25 '17 18:09 hhff

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

mobinni avatar Sep 28 '17 18:09 mobinni

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.

reyalpsirc avatar Oct 02 '17 10:10 reyalpsirc

Fixed in #61 Thank you @reyalpsirc Released v1.3.0

ocetnik avatar Oct 02 '17 18:10 ocetnik