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.

How to show native UI after accepting call on iOS

See original GitHub issue

Hi, I’ve been playing with this lib and on Android it works seamlessly. However on iOS (iPhone 6s - 13.5.1) when receiving an incoming call it initially shows the native Reject/Accept UI as the device rings, but as soon as the call is accepted the native UI disappears and the App UI shows.

In this comment on issue #3 you do mention that on iOS this is default behaviour, however in the screenshots in the readme I can see you have it displaying the native UI of an active call. How can we achieve this?

I’ve tried invoking RNCallKeep.displayIncomingCall inside the CallConnected event like follows with no luck.

twilioPhoneEmitter.addListener(EventType.CallConnected, () => {
    RNCallKeep.displayIncomingCall(RNTwilioPhone.calls[0].uuid, '0422222222', 'test');
});

Any ideas how we can keep the Native Call UI on screen for the entire duration of the call?

(Also on a side note, you should register for GitHub sponsors - I would sponsor you for this project as it is going to save me a LOT of time)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
MrHertalcommented, Feb 11, 2021

Thanks @se1exin ! I really appreciate 🙂🍻

Yes it would be a very good PR on the example app! A good start would be managing one call because managing multiple calls with hold and mute etc. could be very challenging.

0reactions
chuonglv2commented, Sep 2, 2022

@MrHertal Firstly I wanna say thank you. Your work almost saves our project. I am building a custom UI when making calls or receiving calls but don’t know how to disable/hide the UI of the OS. Can you provide any examples or docs for this issue?

Read more comments on GitHub >

github_iconTop Results From Across the Web

iOS : How to keep native UI after accept a call using Callkit
iOS : How to keep native UI after accept a call using Callkit [ Beautify Your Computer : https://www.hows.tech/p/recommended.html ] iOS ...
Read more >
How to keep native UI after accept a call using Callkit
You can't keep native UI after accept the incoming call. ... an incoming call iPhone will open your app, and you must show...
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 >
Using Native Incoming Call UI for your React Native App (How ...
A project I was working on required native call UI to be implemented so that when users received a call notification from firebase...
Read more >
CallKit | Apple Developer Documentation
Display the system-calling UI for your app's VoIP services, and coordinate ... the user accepting another call or closing the Smart Folio of...
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