-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple issues regarding incoming calls on iOS #419
Comments
Hi @bojandurmic we're aware that there's a gap with the caller handle API and we're investigating a solution that works for everyone. It seems like the |
Hi @mhuynh5757 , thanks for your reply. Would you mind sharing the reason why Also, can you test if accepting an incoming call while the app is force closed causes your app to start in light color mode instead of automatic based on device settings? |
@mhuynh5757 adding more details: it seems like, when the app is opened from a closed state by an incoming call, Do you know if there is any piece of code from the Twilio RN SDK or Twilio iOS SDK that could be causing this? Also, can you see if you can reproduce this on your reference app? Thanks! |
@mhuynh5757 Any details on this? We're still occasionally seeing call logs show up in the native iOS phone app. 3. Despite setting |
Issue
Pre-submission Checklist
or sensitive account information (API keys, credentials, etc.) when reporting this issue.
Description
We are facing several issues related to incoming calls on iOS. I have taken some screenshots to help explain the issues we're facing.
Per instructions in one of the previous issues and following an example set by the example app, we are doing the following when the app starts:
voice
object.callInvite.updateCallerHandle
method.This mostly works fine, though we noticed a set of issues that occurs when the app is force closed and an incoming call is made.
This will only happen if the app is force closed. If the app is open and in background, it all works fine.
Our app is configured to use the device's color theme (light/dark mode). We are using React Native's
useColorScheme
to determine the theme. When the app is force closed and you accept an incoming call, the app launches in light mode, even though the device is in dark mode.callKitIncludesCallsInRecents: false,
, we still sometimes see entries in call log.Once again, it is most likely related to incoming calls in closed state. It doesn't happen when we receive a call when the app is open.
Reproduction Steps
Expected Behavior
Since our app is calling
updateCallerHandle
, you should see the handle we set in both notification banner and when you tap on it.Also, the app should launch in the mode that user's device uses, not light mode.
Actual Behavior
You only see the updated caller handle when you tap on a little notification banner. The app launches in light mode, regardless of device setting.
Reproduction Frequency
It always happens when the app is in closed state
Software and Device Information
Please complete the following information.
Additional Context
It would be EXTREMELY helpful for us, if the app on the native side would look for
displayName
or similar parameter to set a default caller handle. Even withupdateCallerHandle
function, it is still cumbersome to have us on the client side dogetCustomParameters()
to finddisplayName
and then set it. Also, because this is having on a React Native layer, you have a small delay before a phone number changes to a caller name, which would be instant if the Twilio's native layer looked fordisplayName
in call params.The text was updated successfully, but these errors were encountered: