cybex-dev / cybex-dev/twilio_voice

_prettyPrintNumber is US-only?

Open
#245 2 comments 0 reactions 1 assignee Claimed by @cybex-dev View on GitHub
enhancement
Dominant language
Kotlin
Stars
50
Forks
111
PR merge metrics
No merged PRs in 30d

Description

### 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`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.