react-native-callkeep icon indicating copy to clipboard operation
react-native-callkeep copied to clipboard

CallKit's native call screen is not being disappearing in iOS

Open usamaabutt opened this issue 4 years ago • 8 comments

Hi guys,

I am using react-native-callkeep for using native call screen it’s working fine but when user want’s to end the call and at this moment i am using these methods provided by callkeep to end the call

RNCallKeep.endCall(this.state.uuid);
RNCallKeep.endAllCalls();

But due to some reason native call screen is not disappearing. Any help on will be appreciated. Thanks!

usamaabutt avatar Jun 17 '21 07:06 usamaabutt

@usamaabutt This issue may be fixed in the recent version, what is your current react-native-callkeep version? Is it the latest?

namnm avatar Jun 24 '21 09:06 namnm

@namnm could you please let me know how to handle when app is killed and in locked screen, In my case I am using opentok sdk for a video call, when I got a voip-pushnotification native calling screen show when accepting a call native call accept screen shows while I want to show my own application screen

hussainsherwani avatar Jun 28 '21 04:06 hussainsherwani

@hussainsherwani In locked screen after user accept the call, there's no way your app can open without user pressing on the app icon (with your app name) If you havent set the app icon, it is a transparent button. For setting the app icon, if you look at callkeep README, there is: imageName: string (optional) If provided, it will be displayed on system UI during the call This image should have transparent background with white logo only. You can do more research about this on your own if you are still confused.

namnm avatar Jun 28 '21 05:06 namnm

Hi @namnm, Thanks for response, Yes! I'm using latest version of react-native-callkeep version 4.2.0

And after this there is another very critical issue which i am facing and not able to find any solution for it till now. If you could help me in that also.

usamaabutt avatar Jun 30 '21 08:06 usamaabutt

@usamaabutt Please avoid using RNCallKeep.endAllCalls(); I think it doesn't work occasionally, then causes the lib corrupted afterward. I only use RNCallKeep.endCall and it works well so far.

namnm avatar Jun 30 '21 09:06 namnm

@usamaabutt I resolved my issue with the help above @namnm suggestions

hussainsherwani avatar Sep 10 '21 05:09 hussainsherwani

@namnm @usamaabutt @hussainsherwani end call not woking when i am using twilio voice sdk, but after i remove voice sdk then it works.

thanhnvpk01168 avatar Feb 06 '23 16:02 thanhnvpk01168

I am also face this problem when using with Zoom Video SDK. Anybody can use react-native-callkeep with Zoom Video SDK and end call on iOS successfully?

focalsolution avatar Dec 02 '24 08:12 focalsolution