Skip to content
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

Incoming Caller name from a client shows "Unkown Caller" on Android #215

Open
zamargab opened this issue Jan 5, 2024 · 3 comments
Open
Assignees

Comments

@zamargab
Copy link

zamargab commented Jan 5, 2024

Great job with this package, it really simplified the Twilio Voice Integration, However, I'm facing an issue, When i place a client call, the recipient does not see the name of the person that's making the call, Just "Unknown caller" or the default caller name, Please how do I remedy this?

TwilioVoice.instance.registerClient("1", "John");

From the code above, we register a user with ID of "1" and named "John", in placing a call, the "from" field, am i supposed to supply, "client:1", "client:John", "1", or "John".

Thanks

@zamargab
Copy link
Author

zamargab commented Jan 5, 2024

From my research i found out that i can supply some parameters in the extraOptions field that could be used to modify the incoming call UI. I found out that "__TWI_CALLER_NAME" parameter is used to display incoming call name. But the issue I'm having with this is that even when i supply the extraOptions to look like below, It still does not work

 extraOptions: {
               
              "__TWI_CALLER_NAME": "Peter"
              },

Additionally, when i try to print out the parameters i included in extraOptions, it just gives an empty map.

TwilioVoice.instance.call.activeCall.customParams

@zamargab
Copy link
Author

update:

I have tested on an Android 9 physical device and the correct caller name is being displayed but on an Android 14 physical device, it shows either Unknown caller or the default caller name if set

@cybex-dev
Copy link
Owner

Hi @zamargab,

Thanks for reaching out and posting the issue - apologies for getting back so late. I'll be reviewing issues over the weekend.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants