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
Certain legitimate FIXED_LINE_OR_MOBILE phone numbers for the London(UK) area are categorized as UNKNOWN. We should expect FIXED_LINE, MOBILE, or FIXED_LINE_OR_MOBILE as the PhoneNumberType.
Example:
phoneNumber := "+442045204776"
n, err := libphonenumber.Parse(phoneNumber, "ZZ")
if err != nil {
fmt.Println("Error seen on ", phoneNumber)
}
libphonenumberDeducedNumberType := libphonenumber.GetNumberType(n)
fmt.Println(libphonenumberDeducedNumberType, n)
Note it does not matter what defaultRegion is passed in the Parse() method. Both UK, GB, ZZ will result in libphonenumberDeducedNumberType to be UNKNOWN.
The issue seems to be present in all: "+44 20 XXXX YYYY" numbers.
The text was updated successfully, but these errors were encountered:
Certain legitimate FIXED_LINE_OR_MOBILE phone numbers for the London(UK) area are categorized as UNKNOWN. We should expect FIXED_LINE, MOBILE, or FIXED_LINE_OR_MOBILE as the PhoneNumberType.
Example:
Note it does not matter what defaultRegion is passed in the Parse() method. Both UK, GB, ZZ will result in libphonenumberDeducedNumberType to be UNKNOWN.
The issue seems to be present in all: "+44 20 XXXX YYYY" numbers.
The text was updated successfully, but these errors were encountered: