You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The implementation of ActiveCall _prettyPrintNumber does not use a proper international number formatter. Instead it seems to be hardcoded to assume that the number is USA format. This affects ActiveCall.toFormatted and ActiveCall.fromFormatted.
Steps to Reproduce
Try calling an international number like +52 55-2591-9530.
Thank you for reaching out, this is a great issue and thank you for bringing it to my attention. Originally, the focus was for the US market but I'll certainly expand it's use to support international phone numbers with E.164 support.
Issue Summary
The implementation of ActiveCall _prettyPrintNumber does not use a proper international number formatter. Instead it seems to be hardcoded to assume that the number is USA format. This affects ActiveCall.toFormatted and ActiveCall.fromFormatted.
Steps to Reproduce
Try calling an international number like +52 55-2591-9530.
Expectation: toFormatted should return like:
+52 55-2591-9530
Observed result: toFormatted returns:
(525) 525-919530
The text was updated successfully, but these errors were encountered: