PhoneNumberKit icon indicating copy to clipboard operation
PhoneNumberKit copied to clipboard

+1 prefix always use USA flag

Open joaobatista99 opened this issue 4 years ago • 6 comments
trafficstars

In case i type a Canadian number (has the same prefix than Usa), the flag won't update to the Canadian one.

joaobatista99 avatar Mar 23 '21 14:03 joaobatista99

also interested in a fix for this issue

romansorochak avatar Dec 07 '21 12:12 romansorochak

+1

andrii-lisovskiy avatar Apr 18 '22 11:04 andrii-lisovskiy

We have two scenarios:

  1. User in Canada typing a phone number: would be possible to guess the region and show the Canada flag
  2. User in other countries but not USA or Canada typing a +1 phone number: which flag should be shown?

Thoughts?

bguidolim avatar Apr 21 '22 08:04 bguidolim

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Jul 03 '22 03:07 github-actions[bot]

With just the +1, perhaps the USA flag can be shown, however as soon as the area code entered is Canadian (ie, 587), can be switched to Canada flag.

hassanjamil03 avatar Jul 07 '22 17:07 hassanjamil03

I would love to review a PR with this proposal :)

bguidolim avatar Jul 12 '22 23:07 bguidolim

#547

hojatdelfan avatar Aug 14 '22 13:08 hojatdelfan