Default country from given number
nareshkatta99 opened this issue · 1 comments
nareshkatta99 commented
How to get the country from the given number which is already in the database?
MichaelRocks commented
You can use PhoneNumberUtil.getRegionCodeForCountryCode()
or PhoneNumberUtil.getRegionCodesForCountryCode()
and pass a phone code of the parsed phone number. Another option could be to use PhoneNumberOfflineGeocoder
but it's not available in this port.