Closed trieuduongle closed 3 years ago
Hi 👋
I guess you are right, you can either submit a PR to make this change or use the lower API method TwilioPhone.startCall directly.
Thanks
@MrHertal I created a pull request for it. https://github.com/MrHertal/react-native-twilio-phone/pull/53
To avoid modify previous code too much, I just use spread operator to merge your "params" with my "additionalParams"
Thanks @trieuduongle :)
I will review it asap.
I just merged your PR and made a new release. Thanks
Hi @MrHertal ,
As you can see from the image,
params
could be an object that accept any value (not only 2 params as currently: "from" and "to"), and Twilio functions can use these params to serve its request.So I think we should update the parameter for
startCall
function, it should look like this, I think.If you think that this is correct, could you help me update it?