twilio / twilio-voice-react-native

Other
62 stars 22 forks source link

How to change voip title on ios #374

Closed greenraze13 closed 1 month ago

greenraze13 commented 1 month ago

This is not a issue.

I am using Twilio Voice React Native for incoming calls on iPhone. When an incoming call arrives, it shows the VoIP notification. I want to change the title of that notification.

Currently, it shows:

'App Name Audio Call

Client ID: c89' with accept reject button

I want to change it to 'You have an audio call from client c78.'

I have also attached a screenshot of iphone notification where i wants to change.

Screenshot 2024-06-06 at 16 17 22

In Android, I have changed it in the library files, and there it's working fine.

Thanks.

greenraze13 commented 1 month ago

Hi @bobiechen-twilio Can you please help me here.

Thanks

bobiechen-twilio commented 1 month ago

HI @greenraze13

For the title it will always be the app display name. This is controlled by the iOS CallKit framework and there is no way to programmatically update the value. For the caller name, there are a few ways to update the value:

bobiechen-twilio commented 1 month ago

close as dup #373

greenraze13 commented 3 weeks ago

@bobiechen-twilio Thanks for your help. As you mentioned that app display name this is controlled by the iOS CallKit framework and there is no way to programmatically update the value.

But there is written app name and audio call text Can I remove the audio call text from there and only display the app name as it is.

Thanks