Giter Site home page Giter Site logo

Comments (5)

bguidolim avatar bguidolim commented on June 15, 2024

Which version?
If you're using Cocoapods, make sure that you're using the example described on README, with the git configuration.

from phonenumberkit.

EmmaVvv avatar EmmaVvv commented on June 15, 2024

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.

bguidolim avatar bguidolim commented on June 15, 2024

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.

EmmaVvv avatar EmmaVvv commented on June 15, 2024

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)

1

Here is how phone number formatting looks based on the mask
2

And here is how formatting work (properly) without 9 at the beginning

3

Why is it like that?

from phonenumberkit.

DimDL avatar DimDL commented on June 15, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.