Parses invalid Australian phone numbers as valid
behelit opened this issue · 0 comments
behelit commented
Hello,
I parse an Australian phone number like "+61401118888" correctly, then I try adding 6 digits to the number and it still parses as valid.
How is this possible?
For example: "+61401118888123456"
val phoneNumber = phoneUtil.parse(input, Locale.getDefault().country)
return phoneUtil.format(phoneNumber, PhoneNumberUtil.PhoneNumberFormat.E164)