Skip to content

Determining the country code of a string phone number? #25

@fonix232

Description

@fonix232

I'm using this library for server-side phone number management, however ran into a little bit of an issue.

The Java counterpart works fine with the PhoneNumberUtil.getInstance().parse("phonenumber here","") format, automatically determining the country code. However the .Net version (this) requires a valid country identifier, which I unfortunately do not have specified for the phone numbers.

In my service, I send out verification text messages based on country. This means I have to determine the country the phone number originates from.

How can I do this with this library?

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