Skip to content

KSA mobile number returning as valid false when it is valid for libphonenumber #349

@jaredlt

Description

@jaredlt

The following phone number is a real Saudi Arabian mobile number 00966579449402

It shows as valid via libphonenumber

However, it shows as invalid via phonelib

Phonelib.default_country = ["SA", "BH", "AE"]
Phonelib.strict_check = true

Phonelib.valid?("00966579449402")
=> false
Phonelib.valid_for_country?("00966579449402", "SA")
=> false

Am I doing something wrong (very open to that being the case 😅 )? Or is there some data that needs to be updated from libphonenumber? Or something else?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions