Region code for phone numbers with no fixed country (e.g. +808) are erroneously set to US
ckpwong opened this issue · 0 comments
ckpwong commented
Certain phone number country dialing codes are not associated with specific countries, for example, +800, +808, and +870.
The official Java and JavaScript libphonenumber correctly do not set the region code and country code for these phone numbers. However, awesome-phonenumber incorrectly identify these numbers as US phone numbers.
See https://github.com/googlei18n/libphonenumber/blob/master/resources/PhoneNumberMetadata.xml for detailed metadata used in official libraries.