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.

DisplayIncomingCall UI appears for a few moments -> then Disappears (IOS)

See original GitHub issue

Bug 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:open
  • Created 3 years ago
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
netstratum-labscommented, Sep 14, 2020

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?

0reactions
nghianvbsccommented, Mar 18, 2021

Same issues, debug mode working like good , but this bug on release mode, at receive call from voip native code

Read more comments on GitHub >

github_iconTop 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 >

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