question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bridge is flasky on iOS

See original GitHub issue

I set up the CallDetector in componentDidMount on one of my screens, pretty much in the same way that it was set on the example:

https://github.com/priteshrnandgaonkar/react-native-call-detection/blob/7c47b4d2c3510377e890e7b825f8c59c1f42dfc8/CallDetectionExample/src/HomeComponent.js#L29

However, from time to time I receive the following error (it doesn’t happens every time, but frequently) after ending a call:

bridge is not set. 
This is probably because you've explicitly synthesized the bridge in RCTCallDetection, 
even though it's inherited from RCTEventEmitter.

Could this be related to memory leak? Has anyone had this problem?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
dowatugkinscommented, Jul 31, 2019

@julioxavierr @soledaddiez If you could pull my branch and test to see if it fixes your issue, that would be great. We also ran into this issue, and noticing that this repo uses the deprecated API CallTelephony I updated the iOS side to use the new CallKit API instead. So far I haven’t seen any crashes and get the same events as expected when expected.

0reactions
priteshrnandgaonkarcommented, Apr 16, 2020

Closing it as its a stale issue

Read more comments on GitHub >

github_iconTop Results From Across the Web

Bridge by NeuralPlay on the App Store
Download Bridge by NeuralPlay and enjoy it on your iPhone, iPad, and iPod ... Play rubber bridge, Chicago bridge, duplicate teams, or practice...
Read more >
Homebridge and all devices with no answer #2847 - GitHub
I did a complete restore again and found out that the Bridge itself is online in the iOS Home App, but only with...
Read more >
HomeKit Philips Hue Bridge Not Appearing In Home
The Hue bridge will only show up under Hubs and Bridges. They removed it as an accessory tile, I believe, with iOS 13....
Read more >
WeMo F7C074 Bridge - Works with Apple HomeKit
This smart bridge allows you to connect your Wemo smart plugs and light switches to Apple HomeKit, enabling you to easily and securely...
Read more >
The BlackBerry PlayBook Review - AnandTech
Remember that all Bridge apps use your BlackBerry's encrypted internet connection to get to the outside world. If you need that added layer...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found