libphonenumber-js icon indicating copy to clipboard operation
libphonenumber-js copied to clipboard

Country Code issue

Open Uriyo opened this issue 1 year ago • 3 comments

Multiple countries for the same country code (+1). Screenshot 2024-11-06 at 11 43 40 AM

Uriyo avatar Nov 06 '24 06:11 Uriyo

Yes. Not bug

On Wed, 6 Nov 2024 at 09:14, Kushagra Gangwar @.***> wrote:

Multiple countries for the same country code (+1). Screenshot.2024-11-06.at.11.43.40.AM.png (view on web) https://github.com/user-attachments/assets/f2a4418b-e1c2-407c-945f-4c8ac1834159

— Reply to this email directly, view it on GitHub https://github.com/catamphetamine/libphonenumber-js/issues/473, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADUP32EOEIZXW4PKVDIHATZ7GXVRAVCNFSM6AAAAABRICQUVKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGYZTOMJUGI2DKNY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

catamphetamine avatar Nov 06 '24 11:11 catamphetamine

how will it differentiate as i am not storing the flags in my db

Uriyo avatar Nov 26 '24 06:11 Uriyo

The number determines the location. e.g., +1 604 is Canada, +1 213 is USA, etc.

Motoxpro avatar Apr 18 '25 20:04 Motoxpro