libPhoneNumber-iOS icon indicating copy to clipboard operation
libPhoneNumber-iOS copied to clipboard

A valid phone number is recognized as invalid by our iOS library

Open chenminghong opened this issue 6 years ago • 3 comments

I have a correct mobile number. The number is +65 8908****. But our iOS library returns NBEPhoneNumberTypeUNKNOWN. Please help solve the problem as soon as possible. Thanks my bro! library version = libPhoneNumber-iOS (0.9.15)

chenminghong avatar Oct 30 '19 04:10 chenminghong

Bump! We are also seeing this with the NBAsYouTypeFormatter.
A perfectly valid number is not getting recognized as valid. For example this number: 747-516-9xxx.

If we call the isValidNumber(forRegion:, regionCode:) it returns false, but if we just call the isValidNumber(phoneNumber) method.

cameronehrlich avatar May 07 '20 18:05 cameronehrlich

Bump! Same issue here https://github.com/iziz/libPhoneNumber-iOS/issues/324

Additionally it is working properly on Android, even though both iOS and Android sharing the same metadata from Google. It supposed to be working.

duy-dindinn avatar Sep 22 '20 04:09 duy-dindinn

@chenminghong hello, how do you manage to solve the issue temporary? Is there any work around?

duy-dindinn avatar Sep 22 '20 04:09 duy-dindinn