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

China [CN +86] phone number validation #809

Open
kadiralevobilet opened this issue Oct 16, 2024 · 0 comments
Open

China [CN +86] phone number validation #809

kadiralevobilet opened this issue Oct 16, 2024 · 0 comments

Comments

@kadiralevobilet
Copy link

Steps to reproduce

When we try validate the phone number with
public func isValidPhoneNumber(_ numberString: String, withRegion region: String = defaultRegionCode(), ignoreType: Bool = false) -> Bool
method of the library. It returns true for these phone numbers.
+86 2222222222 or
+86 4545454545

Expected result

Library should return false for these inputs.

Environment

Library version: 4.0.0

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