Android - Firebase - The Email Address Is Badly Formatted
Aim Allow users to register their preferred display name, home address, email, and password by utilizing Firebase Authentication (Email and Password) Java Class import android.cont
Solution 1:
Check your inputType on the xml file. There is 3 types of inputs on email.
android:inputType="textWebEmailAddress"android:inputType="textEmailAddress"android:inputType="textEmailSubject"
More here https://developer.android.com/reference/android/text/InputType.html
Solution 2:
Achieve by doing this simply
- you need to do
setInputType
android:inputType="textEmailAddress"
- You can done with
programmatic
also
emailEditText.setInputType(InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_EMAIL_ADDRESS
Post a Comment for "Android - Firebase - The Email Address Is Badly Formatted"