Comments (8)
note that the library cannot detect landline phone numbers properly.
https://github.com/AfterShip/phone#faq
thank you very much
from phone.
Not just landline numbers. Also fails with eSim mobile numbers. i havent tested with other Zim mobiles.
from phone.
Can you provide the precise correct format (and the prove showing those are the correct mobile phone number format)?
from phone.
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.
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.
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.
I'll add 78 to it in the next release
from phone.
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)
- Chinese cell phone numbers will be recognized as US cell phone numbers HOT 4
- Issue with Bahrain country code HOT 3
- Does Not Validate A Valid Phone Number HOT 1
- Library incorrectly flagging UAE phone numbers as incorrect HOT 8
- Missing Angullia 2642, 2644 area code
- Library does not recognise Swaziland Country Code +268 HOT 8
- Error in validating indian phone number with 11 digits HOT 2
- [Phone number format] Add more Poland prefix phone number HOT 5
- Phone Number Output HOT 1
- Some valid phone number is getting as invalid phone numbers HOT 3
- [Phone number format] HOT 1
- Can not validate India phone number HOT 2
- [feature] provide formatted number HOT 1
- [Phone number format]
- Publish only distribution files
- [Phone number format] US 728 phone code HOT 3
- [Phone number format] HOT 1
- Oman country code is not supported HOT 1
- Invalid parsed numbers have undefined for phoneNumber HOT 1
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 phone.