With this code:
for (CountryWithPhoneCode e in (CountryManager().countries)) {
print(e.countryCode);
print(e.exampleNumberMobileNational);
print(e.exampleNumberMobileInternational);
}
You can see that for some countries, for example BG (Bulgaria) the output of the console is:
I/flutter (27996): BG
I/flutter (27996): 043 012 345
I/flutter (27996): +359 43 012 345
However, Bulgarian phone numbers look like this:
+359 123 456 789 (plus code followed by 9 digits)
OR
012 345 6789 (0 followed by 9 digits)
The exampleNumberMobileNational isn't necessarily wrong, but it is misleading as a 9 digit phone number can't start with a 0.
exampleNumberMobileInternational however, is for sure wrong. It is missing a digit.
I believe this issue also applies to other countries.
With this code:
You can see that for some countries, for example BG (Bulgaria) the output of the console is:
However, Bulgarian phone numbers look like this:
+359 123 456 789 (plus code followed by 9 digits)
OR
012 345 6789 (0 followed by 9 digits)
The
exampleNumberMobileNationalisn't necessarily wrong, but it is misleading as a 9 digit phone number can't start with a 0.exampleNumberMobileInternationalhowever, is for sure wrong. It is missing a digit.I believe this issue also applies to other countries.