-
Notifications
You must be signed in to change notification settings - Fork 848
Open
Description
New Issue Checklist
- Updated PhoneNumberKit to the latest version
- Phone number formatted correctly on JavaScript version
- I searched for existing GitHub issues
- I am aware that this library is not responsible of adding/removing/changing phone number formats and any request should be done at libphonenumber repo
Steps to reproduce
- Call isValidPhoneNumber("+963 41 718 46xx", nil, ignoreType: true) with a valid Syrian number +963 41 718 46xx
Expected result
isValidPhoneNumber response should be true, because we ignore type to true we're close to isPossible number method from libphoneNumber.
Actual result
isValidPhoneNumber response is false
Info
Source data from PhoneNumberKit and libphonenumber are the same
Libphonenumber response is https://libphonenumber.appspot.com/phonenumberparser?number=%2B963+41+718+46XX
- isPossibleNumber = true
- isValidNumber = false
- Note: Invalid numbers have type UNKNOWN and no region.
Syrian, num plan: : https://www.itu.int/dms_pub/itu-t/oth/02/02/T02020000C90004PDFE.pdf
Environment
SPM, phoneNumberKit 4.0.2
Metadata
Metadata
Assignees
Labels
No labels