Skip to content

Canadian phone number with +1-672 area code incorrectly marked as invalid #215

@cordonp

Description

@cordonp

Describe the bug:
Canadian phone numbers using the +1-672 area code are incorrectly marked as invalid.

Example:
+1-672-833-0197
This area code is officially in use in British Columbia and should be considered valid.

To Reproduce
Steps to reproduce the behavior:

Use FPNTextField to input the phone number +1-672-833-0197

Validation fails

The number is marked as invalid

User cannot proceed

Expected behavior
The number should be recognized as a valid Canadian phone number.

Screenshots
N/A

Smartphone (please complete the following information):

Device: iPhone 15
OS: iOS 17.5

FlagPhoneNumber (please complete the following information):
Version: 0.9.0

Additional context
The area code 672 is officially listed as active in Canada:
https://en.wikipedia.org/wiki/Area_codes_604,_778,_236,_and_672

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions