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

isValidNumber returning false for MVNO telecom company prefix for SA #369

Open
AhmedAbdullah-ibtikar opened this issue May 29, 2022 · 0 comments

Comments

@AhmedAbdullah-ibtikar
Copy link

AhmedAbdullah-ibtikar commented May 29, 2022

let nbNumber = try? NBPhoneNumberUtil.sharedInstance().parse("+966575670234", defaultRegion: "SA") let isValid = NBPhoneNumberUtil.sharedInstance().isValidNumber(nbNumber)

MVNO prefix (Virgin and Lebara): "7"

Screen Shot 2022-05-29 at 1 21 25 PM

Actual: isValid is false
Expected: isValid is true

libPhoneNumber-iOS version 1.0.4

@AhmedAbdullah-ibtikar AhmedAbdullah-ibtikar changed the title isValidNumber returning false for telecom company prefix for SA isValidNumber returning false for MVNO telecom company prefix for SA May 29, 2022
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