Closed sreuter closed 2 years ago
Hey there,
I was wondering if you'd been keen adding area codes / priorities for countries that have overlapping country codes. This would allow using this data for backing a phone picker, which also translates from phone number to country code.
See https://github.com/thegamenicorus/react-native-phone-input/blob/master/lib/resources/countries.json as an example.
I'll do a first kick-off with a PR that adds area codes for Canada based on https://en.wikipedia.org/wiki/Telephone_numbers_in_Canada. Let me know what you think.
Cheers,
Sascha
Hey there,
I was wondering if you'd been keen adding area codes / priorities for countries that have overlapping country codes. This would allow using this data for backing a phone picker, which also translates from phone number to country code.
See https://github.com/thegamenicorus/react-native-phone-input/blob/master/lib/resources/countries.json as an example.
I'll do a first kick-off with a PR that adds area codes for Canada based on https://en.wikipedia.org/wiki/Telephone_numbers_in_Canada. Let me know what you think.
Cheers,
Sascha