Giter VIP home page Giter VIP logo

Comments (8)

Bossa573 avatar Bossa573 commented on June 21, 2024

note that the library cannot detect landline phone numbers properly.
https://github.com/AfterShip/phone#faq
thank you very much

from phone.

rayteale avatar rayteale commented on June 21, 2024

Not just landline numbers. Also fails with eSim mobile numbers. i havent tested with other Zim mobiles.

from phone.

Bossa573 avatar Bossa573 commented on June 21, 2024

Can you provide the precise correct format (and the prove showing those are the correct mobile phone number format)?

from phone.

Bossa573 avatar Bossa573 commented on June 21, 2024

Format refering to
https://github.com/AfterShip/phone/blob/master/src/data/country_phone_data.ts#L1896

mainly about phone number prefix and the phone number length

from phone.

rayteale avatar rayteale commented on June 21, 2024

My customer complained with a number [+263 78 589 xxxx]. Apparently this is an eSim number in Zimbabwe. My application is for mobiles only. Perhaps they have recently added 78 to mobile area codes. Unfortunately I am not in that country so cant test at all. (I can confirm that it works with other mobiles).

from phone.

rayteale avatar rayteale commented on June 21, 2024

Apparently 78 is valid mobile for Zimbabwe - according to Wikipedia. Econet Wireless Zimbabwe. See "How to call a Zimbabwe mobile phone number" on this page https://en.wikipedia.org/wiki/Telephone_numbers_in_Zimbabwe

from phone.

Bossa573 avatar Bossa573 commented on June 21, 2024

I'll add 78 to it in the next release

from phone.

Bossa573 avatar Bossa573 commented on June 21, 2024

https://github.com/AfterShip/phone/releases/tag/3.1.37
https://www.npmjs.com/package/phone/v/3.1.37

from phone.

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.