libPhoneNumber-iOS icon indicating copy to clipboard operation
libPhoneNumber-iOS copied to clipboard

libPhoneNumber-iOS fails for Indian Number 6360860379

Open Vinodh-G opened this issue 7 years ago • 4 comments

The - (BOOL)isValidNumber:(NBPhoneNumber*)number api returns false for valid Indian Number 6360860379, seems the issue with regular expression used to validate.

Vinodh-G avatar Mar 30 '18 10:03 Vinodh-G

@Vinodh-G The meta data is outdated. Thats why this number is invalid.

@iziz Would you please update the metadata so that new TRAI approved numbers are included?

meyyappanv avatar Jul 02 '18 04:07 meyyappanv

@iziz Do you plan on updating the metadata soon? We are having trouble with a valid IL phone number: 55910191. Testing here shows the phone number is fine: https://rawgit.com/googlei18n/libphonenumber/master/javascript/i18n/phonenumbers/demo-compiled.html

tastysauce avatar Jul 18 '18 21:07 tastysauce

+1

Please update the metadata.

niharikasah avatar Jul 26 '18 10:07 niharikasah

+1 Please update the metadata. Thank for help

czars avatar Jul 28 '18 16:07 czars