-
Notifications
You must be signed in to change notification settings - Fork 216
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
Invalid phone number when it should be valid #67
Comments
I had a look at your case and Google's demo indeed says that this is a valid number. |
Thank you for having a look at this. I believe the issue stills falls under this repository because even in their metadata they show "412345678" as an example for a mobile number. Do you know of a way I can manually make it work for Australia? Almost 90% of our users will be Australian. |
Well, we can make it this way:
|
Yeah, I saw it. |
Fixed in the new version |
Hello,
I was running tests with australian numbers when I found that "413071810" is not valid if there's no "0" before it i.e. "0413071810"
I verified that Google's Javascript demo does recognize "413071810" as a valid number for Australia(AU) https://rawgit.com/googlei18n/libphonenumber/master/javascript/i18n/phonenumbers/demo-compiled.html
In Australia is normal to use "04" or "4" for mobile numbers. Also Safari autofill feature adds Australian mobile numbers without the zero that's how I found this problem.
The text was updated successfully, but these errors were encountered: