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.

bug: RNCallKeep.endCall(uuid) is not disconnecting the call

See original GitHub issue

I’m integerating my app with react-native-pjsip library and I’ve used react-native-callkeep for call-kit handeling. When remote user hangup the call then my react-native-pjsip’s endpoint method notify me to terminate the call so I’m calling RNCallKeep.endCall(uuid) but it’s not disconnecting the call from my screen

Debug: I’ve thought that maybe RNCallKeep.endCall and RNCallKeep.startCall is getting different uids but after printing out the results it’s the same uuid = "cec47dc0-4017-11e9-b085-e3a9fec010a6".

Please let me know If I’m doing anything wrong

@manuquentin can you help me?

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
krajay015commented, Mar 15, 2019

Hi @manuquentin I’ve gone through the demo and I’m using the same configuration as given in Demo. Everything is working fine with RNCallkeep other than remote hangup. After remote hangup, I’m calling RNCallKeep.endCall(_uuid) but it’s not invoking RNCallKeep.addEventListener('endCall', this.onEndCallAction). That’s the only problem I’m facing with callKeep.

PS: Same functions are working perfectly with the Android device

PPS: This error is not consistent. Sometime RNCallKeep.endCall(_uuid) works perfectly

Thanks, Ajay Kumar

0reactions
usamaabuttcommented, Jun 17, 2021

I am also getting this error it needs to be fixed.

Read more comments on GitHub >

github_iconTop Results From Across the Web

react-native-callkeep - npm
When you finish an incoming/outgoing call. RNCallKeep.endCall(uuid);. uuid : string. The uuid used for startCall or displayIncomingCall ...
Read more >
android - Cannot retrive UUID from RNTwilioPhone.calls after ...
I tried to find the UUID after CallConnected according to the following quote, to use for RNCallKeep.endCall(uuid) , but still no luck. Hi,...
Read more >
CallKit request error:4 while endi… | Apple Developer Forums
Once the call is connected (signaling and media connection established), report connected date. 4. Disconnect the VoIP call, and submit the end-call action...
Read more >
Simple guide for React Native WebRTC Video Calling (via ...
ConnectyCube Video Calling P2P API is built on top of WebRTC protocol and based on ... Or if your opponents are offline or...
Read more >
Top 5 react-native-callkeep Code Examples - Snyk
Use Snyk Code to scan source code in minutes - no build needed - and fix issues ... const updateDisplay = (callUUID) =>...
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