Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Customize Phone Region #86

Closed
gracietti opened this issue Nov 13, 2016 · 1 comment
Closed

Customize Phone Region #86

gracietti opened this issue Nov 13, 2016 · 1 comment

Comments

@gracietti
Copy link

gracietti commented Nov 13, 2016

As I'm using, phoneTextField.defaultRegion = "BR", the user is supposed to type numbers on the format 01 2345-6789, but some Brazilian phones have an extra number (01 23456-7899).

I'm wondering if it's possible to customize "BR" region to accept both types of format above.

@marmelroy
Copy link
Owner

Hi @gracietti, thanks for this.

PhoneNumberKit is using the metadata from Google's libPhoneNumber library. The metadata is updated regularly and is used across the web. It's up to Google to decide what kind of number formats to support...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants