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.
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