Comments (5)
Which version?
If you're using Cocoapods, make sure that you're using the example described on README, with the git
configuration.
from phonenumberkit.
version 3.5.8
We've also updated to 3.5.10 thinking that might be a bug, but still nothing. Majority of Argentina numbers are considered as not valid.
try phoneNumberKit.parse(string)
returns nil for all Argentina numbers except the ones that match placeholder pattern
from phonenumberkit.
The numbers you've mentioned are not valid for libPhoneNumber.
You can check it here: https://htmlpreview.github.io/?https://github.com/google/libphonenumber/blob/master/javascript/i18n/phonenumbers/demo-compiled.html
The results are supposed to be the same with PNK.
from phonenumberkit.
Thanks for you reply
We're facing another issue with Argentina phone numbers, mask is not matching the actual number formatting
Let me attach screeshots
Below is the mask from framework (9 11 2345-6789)
Here is how phone number formatting looks based on the mask
And here is how formatting work (properly) without 9 at the beginning
Why is it like that?
from phonenumberkit.
FAQ Article about Argentina: https://github.com/google/libphonenumber/blob/master/FAQ.md#why-is-this-number-from-argentina-ar-or-mexico-mx-not-identified-as-the-right-number-type
from phonenumberkit.
Related Issues (20)
- Input Mask Incorrect for Area Codes Starting with 3 HOT 16
- Bad flag with "international" numbers HOT 6
- Argentina mask doesn't match the actual number HOT 3
- Question about UA mobile phone number validation. HOT 5
- PhoneNumberTextField with Irish Number and withPrefix = false HOT 2
- Phone number parsing is not working on iOS 17 HOT 8
- Parsing doesn't work properly updating from 3.5.10 to 3.6.1
- Getting invalid phone number as valid HOT 4
- Wrong format HOT 3
- Impossible to handle naming collisions HOT 2
- Infinite loop on clearButtonRect HOT 1
- Search country text field is hidden by default HOT 2
- Add more instructions for SPM (Dynamic vs. Static) HOT 2
- iOS 17 beta CTCarrier deprecation causes isoCountryCode to return "--" and cannot parse numbers HOT 2
- Wrong GB number? HOT 2
- Exposing a public constructor for PhoneNumber? HOT 2
- Force the library to parse a phone number that has a non-existent area code HOT 3
- Deleting bracket or space characters not possible when user moves cursor behind the bracket/space and tries to delete the character. HOT 6
- CountryPicker transparent background HOT 5
- Kazakhstan phone numbers in PhoneNumberTextField HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phonenumberkit.