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

Remember the most recent country code #4

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

Remember the most recent country code #4

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

Comments

@vinaygopinath
Copy link
Owner

vinaygopinath commented May 31, 2023

Problem

Users may not save/input phone numbers with the international calling code, and manually typing it in every time is an inconvenience.

Solution

Remember the country code of the most recent phone number entered/shared by the user, and automatically prefix the phone number that is missing the country code with the remembered country code.

Requirements

  • Detect the presence of the country code when one of the "Open " buttons is clicked.
  • If the country code is found to be missing, fetch the most recently used country code, if any, and prefix it to the phone number
  • If the country code is available, persist the country code locally for future use before invoking the messaging app with the full phone number.
@vinaygopinath vinaygopinath converted this from a draft issue May 31, 2023
@vinaygopinath vinaygopinath added this to the 1.4.0 milestone Nov 23, 2024
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