twilio / twilio-voice-react-native

Other
62 stars 22 forks source link

How to change heading text on voip notification IOS #373

Closed greenraze13 closed 1 month ago

greenraze13 commented 1 month ago

Issue

Pre-submission Checklist

Description

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: c78'

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.

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

Thanks.

Reproduction Steps

  1. Call from one mobile to iphone
  2. Call notification appears on iphone
  3. need to change the title of that notification

Screenshots

Screenshot 2024-06-06 at 16 17 22
bobiechen-twilio commented 1 month ago

Hi @greenraze13

The header (app name) is controlled by the iOS CallKit framework and there is nothing the SDK can do to update it, however the default caller name "client:xxxx" can be changed by the follow ways: