One of the changes revolves around the registration process where the (English)language is being simplified and also the process made more fool proof by providing a means for the user to choose which country they are in. This brings onboard a some complexities,namely file size increase and code refactoring.
I've attached a CSV file(countrycodes.txt) as a resource in the images folder which contains international dialing codes for all countries. The file has increased the overall app size by 3.5kb.
Since users are not mandated to append their international dialing codes to their numbers, I have to curate the number and country chosen so as to come up with a valid mobile number. Below is the guidance am employing in this task.
All mobile numbers need to be entered in this format.
Coutry Code, Network prefix (no leading 0), Mobile Number.
For example, the mobile number 072 244 3259 in South Africa would be formatted like this:

//www.digitalsms.net/faq/numberformat/index.php
No comments:
Post a Comment