Skip to content

Syrian number issue #843

@LudoLibon

Description

@LudoLibon

New Issue Checklist

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions