Closed dchannell closed 2 years ago
Hi, thanks for sharing this.
Just want to know if there is existing implementation / best practices for retrieving this info somewhere that I'm missing.
Maybe custom params could be also handled in the payload here.
as it is a powerful way to pass along data to Twilio Apps to make more intuitive Call Answer Screens.
Do you have an example in mind?
Is it possible to get custom parameters
twi_params
passed along with call data sent with thetwilioPhoneEmitter
events -- more specifically theCallInvite
event type?I've found a way to retrieve customParameters using RNVoipPushNotification.
I also noticed that the
TVOCallInvite
[documentation] class has a property calledcustomParameters
.I'm considering created a PR to add this functionality -- as it is a powerful way to pass along data to Twilio Apps to make more intuitive Call Answer Screens.
Just want to know if there is existing implementation / best practices for retrieving this info somewhere that I'm missing.