iziz / libPhoneNumber-iOS

iOS port from libphonenumber (Google's phone number handling library)
Apache License 2.0
2.36k stars 463 forks source link

Wrong parsing for Hong Kong mobile number #250

Open Asuard opened 6 years ago

Asuard commented 6 years ago

Hello,

The method isValidNumber is returning false for good hong kong mobile phone number. Country ISO code: HK Country indicator: 852

Mobile phone number: 9XXX XXXX -> False in iOS lib but true on JS lib see here

4XXX XXXX -> False on both iOS and JS lib. Should be true (new mobile phone) 8XXX XXX -> False on both iOS and JS lib. Should be true (new mobile phone)

Version used: 0.9.13

LiKobe commented 5 years ago

Me too.

LiKobe commented 5 years ago

@Asuard Have you solved it?