cedvdb / phone_numbers_parser

Dart phone number parser, based on libphonenumber and PhoneNumberKit.
https://pub.dev/packages/phone_numbers_parser
MIT License
63 stars 32 forks source link

[Feature request] support VOIP #48

Closed CLazarini closed 8 months ago

CLazarini commented 11 months ago

Hello,

When using the .isValid() method on the following number: +33 9 67 49 76 70, it returns false. Using the libphonenumber validator it correctly identifies it as valid.

Reproduced on both 7.0.2 and 8.0.0.

print(PhoneNumber.parse("+33 9 67 49 76 70").isValid());

cedvdb commented 11 months ago

Currently only fixed line and mobile phone numbers are supported. Feel free to implement that

CLazarini commented 11 months ago

Alright thanks for the infos, will do whenever I got some free time :)