Skip to content Skip to sidebar Skip to footer

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 dosetInputType

android:inputType="textEmailAddress"

  • You can done with programmatic also

emailEditText.setInputType(InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_EMAIL_ADDRESS

Happy to help you


Solution 3:

Email is wrongly formatted

Try to add input type as textEmailAddress in the layout file

android:inputType="textEmailAddress"

Post a Comment for "Android - Firebase - The Email Address Is Badly Formatted"