Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate the user phone number #5

Open
vinaygopinath opened this issue May 31, 2023 · 0 comments
Open

Validate the user phone number #5

vinaygopinath opened this issue May 31, 2023 · 0 comments

Comments

@vinaygopinath
Copy link
Owner

Problem

The app does not provide any feedback on the entered/shared phone number and simply invokes the messaging app, which then performs validation. This is an unnecessarily long user journey, especially if the user has made a typo.

Solution

The app should validate the entered/shared phone number and indicate whether it might be valid in the region specified by the country code.

Requirements

  • Use libphonenumber to validate the entered/shared phone number
  • Show a warning that the phone number may not be valid, but allow the user to "continue anyway" and open the messaging app. This leaves room for libphonenumber to be inaccurate/outdated and unaware of, for example, a new series of phone numbers in a region. True validation of a phone number is not possible, and it's only the messaging app that can provide feedback on the validity and presence of a user with the given phone number.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

1 participant