MrHertal / react-native-twilio-phone

Twilio Voice React Native module.
MIT License
153 stars 66 forks source link

UI - laggy transition on call answer #90

Open jsrozner opened 2 years ago

jsrozner commented 2 years ago

Running example app on iOS with no changes (iphone XR, iOS 15.5). Two issues: 1) From within the app, answering a call leaves the default page (start call / unregister buttons shown) open for ~1 second before switching to the active call view (has end call button)

2) When app is not open, on an incoming call, notification bar shows up. Tap the bar, then tap accept call. Observe that the RN callkeep view is briefly shown before switching to the default view (start call) before finally showing the active call view

edit: Additional / related question: The normal phone behavior on iphone is to separate the active call functionality from the app functionality. For the example app, the active call screen provided by RN-call-keep is "overridden" by the example app's call-in-progress screen. How can I change the app behavior to avoid that?