DisplayIncomingCall UI appears for a few moments -> then Disappears (IOS)
See original GitHub issueBug report
-
I’ve checked the example to reproduce the issue.
-
Reproduced on:
-
iOS
Description
This only happens sometimes, and I can’t find how to make it consistent. But it is a critical bug for myself. When call is incoming on IOS device, sometimes the DisplayIncomingCall UI displays, for < 1 second. Then disappears. The call is still incoming via my VOIP SDK but the incoming call UI screen disappears on IOS. I am not sure what makes this happen. The code is very simple.
Steps to Reproduce
- Call IOS Device
- Display Incoming Call UI
- UI Appears for a moment then disappears (Happens on randomly, but is critical as there is no way to connect the call when this happens)
Versions
- Callkeep: Latest
- React Native: 0.63.2
- iOS: 13.5.1
- Phone model: Iphone 6
Code
const oneTimeId = () => {
callId.current = callId.current || uuid();
return callId.current;
};
const onCallListener: Listener = async (session, _userId, extension) => {
ext.current = extension || initExtension;
sess.current = session || initSession;
const name =
users.find(u => u.id === sess?.current?.initiatorID)?.name || '';
const id = oneTimeId();
RNCallKeep.displayIncomingCall(id, name, name, 'generic', true);
};
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (2 by maintainers)
Top Results From Across the Web
The phone screen disappears during a call…
The phone screen disappears during a call making it very difficult to terminate the call! How do I get the phone screen to...
Read more >How to fix display not waking up with incoming calls issue
When I am on Wifi, The incoming call an number is displayed immediately, but when I am mobile data, the phone is ringing,...
Read more >How To Keep Ios Native Call Ui After Answering The Call With ...
If my phone is locked and an incoming call is being handled by CallKit as via my the user will see a system...
Read more >CallKit screen goes behind the app UI while ringing
We have an iOS app that is configured to receive VoIP notifications ... From one device, call the other one and hang up...
Read more >Collaboration iOS App – Changelog - Wildix
3) Sync delay may between Apple watch and iPhone may reach up to five seconds. 4) In some cases Apple watch app may...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
We have a similar issue for outgoing calls too ( we are not using callkeep for incoming calls ). On iOS 13.6 when we lock the screen the callkit UI flashes and shows the lock screen and the microphone icon shows in red instead of green.
As we are not using it for incoming calls, we have not implemented Pushkit. Under background modes we have only selected VoIP.
Any thoughts?
Same issues, debug mode working like good , but this bug on release mode, at receive call from voip native code