ruimarinho / google-libphonenumber

The up-to-date and reliable Google's libphonenumber package for node.js.

Home Page:https://ruimarinho.github.io/google-libphonenumber

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Validation Unsuccessful for India for Number starting with 6

HimanshuMishra-prog opened this issue · comments

Hi ,
I have been trying to validate numbers in India starting with 6 but isValidNumberForRegion returns false.Even isValidNumber also returns false.Phone Number starting with 6 are valid numbers in India(since I own one).Here are the screenshots of my application and my code
Code Implementation
This is the code implementation
Invalid Number
It doesnot validate number starting with 6
Valid Number
validated number starting with 7 which is fine
Library used
this is the dependency

Hi,

This issue appears to be related to a metadata problem.

  1. Start by taking a look at the official demo page and see if the results are the same.
  2. If they're not, maybe there has been a more recent release of this package with updated metadata. Please make sure you update to the latest version on npm.
  3. If it still doesn't match your expectation, you might have spotted a metadata problem on the upstream package. In this case, you should report your issue in the upstream project's issue tracker.

Thanks!