Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to parse Somalian mobile number #822

Closed
4 tasks done
ajf-mr opened this issue Dec 16, 2024 · 1 comment
Closed
4 tasks done

Unable to parse Somalian mobile number #822

ajf-mr opened this issue Dec 16, 2024 · 1 comment

Comments

@ajf-mr
Copy link

ajf-mr commented Dec 16, 2024

New Issue Checklist

Steps to reproduce

Parse SO mobile number starting with "770 xxx xxx"
try? phoneNumberKit.parse("770000000", withRegion: "SO")

Expected result

Valid mobile number
try? phoneNumberKit.parse("770000000", withRegion: "SO") returns PhoneNumber

Actual result

Unable to parse number
try? phoneNumberKit.parse("770000000", withRegion: "SO") is nil

Environment

SPM

@ajf-mr
Copy link
Author

ajf-mr commented Dec 16, 2024

After further digging, it turns out one of the packages I use in my project was dependent on an older version of PhoneNumberKit and my project was referencing that old version. The latest version does not have this issue.

@ajf-mr ajf-mr closed this as completed Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant