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

making app crash #32

Open
AbdullahRaza opened this issue Dec 14, 2017 · 0 comments
Open

making app crash #32

AbdullahRaza opened this issue Dec 14, 2017 · 0 comments

Comments

@AbdullahRaza
Copy link

hi,

When we select Saintbarthelemy, it has country code +590, which same as some other countries like Saint Martin. so This code decides the country code upon format of remaining number. if that number is invalid then this
String region = mPhoneUtil.getRegionCodeForNumber(phoneNumber);
returns null.
upon next line
int countryIdx = mCountries.indexOfIso(region);
in indexOfIso method .. toUpperCase is being called upon region which produces null pointer exception.
image

Pardon me if anything is wrong with creating this issue

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant