phone_numbers_parser icon indicating copy to clipboard operation
phone_numbers_parser copied to clipboard

Problem in format Canada phone number

Open Abolfazlnezami2000 opened this issue 2 years ago • 3 comments
trafficstars

I tried to reformat the Canada Phone number but the package is not working. image image but the main package worked : https://libphonenumber.appspot.com/phonenumberparser?number=8195555555&country=CA

Abolfazlnezami2000 avatar Nov 14 '23 10:11 Abolfazlnezami2000

Here is the source code if someone wants to look into this: https://github.com/cedvdb/phone_numbers_parser/blob/main/lib/src/formatting/phone_number_formatter.dart

cedvdb avatar Feb 28 '24 15:02 cedvdb

Hi Any chance to support all formats from like phoneNumber.e164 and so on? image

vasilich6107 avatar Mar 15 '24 17:03 vasilich6107

Hi Any chance to support all formats from like phoneNumber.e164 and so on?

I will review a pull request that adds that functionality. The e164 format is trivial.

cedvdb avatar Mar 16 '24 14:03 cedvdb

should be added in last update

cedvdb avatar Sep 06 '24 22:09 cedvdb