I need to register this email apptest@i.ua. However, it doesn't register. Other emails I've tried worked fine, but emails with this domain (i.ua) doesn't. Is there something I need to add for it to work?
val emailValid: Boolean = Pattern.matches("^((?!.*?\\.\\.)[A-Za-z0-9\\.\\!\\#\\\$\\%\\&\\'*\\+\\-\\/\\=\\?\\^_`\\{\\|\\}\\~]+@[A-Za-z0-9]+[A-Za-z0-9\\-\\.]+\\.[A-Za-z0-9\\-\\.]+[A-Za-z0-9]+)\$", email)
if (!emailValid){
signup_username.error = getString(R.string.email_error_not_valid)
username.requestFocus()
return
}