How to show native UI after accepting call on iOS
See original GitHub issueHi, 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:
- Created 3 years ago
- Comments:6 (4 by maintainers)
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.
@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?