Hi, does anyone know how to use the message that is shown in the log?
Show in log : com.google.firebase.auth.FirebaseAuthInvalidCredentialsException: The email address is badly formatted.
this code
, return this result: Authex_SignedIn(false,Login Unsuccessful) but i need this log com.google.firebase.auth.FirebaseAuthInvalidCredentialsException: The email address is badly formatted.
log result.
Regards
Show in log : com.google.firebase.auth.FirebaseAuthInvalidCredentialsException: The email address is badly formatted.
this code
B4X:
Log($"Authex_SignedIn(${success},${info})"$)
B4X:
Starter.authex.SignInWithEmailAndPassword(EditText_mail.Text,EditText_password.Text)
wait for authex_SignedIn (success As Boolean, User As FirebaseAuthUser, info As String)
Log($"Authex_SignedIn(${success},${info})"$)
If success Then
If User = Null Then
Log("nulluser SignedIn: ")
Else
Log("SignedIn: " & User.Uid)
Log("User: " & User.DisplayName)
Log("eMail: " & User.Email)
Log("Anonimo: " & User.Anonymous)
Log("mail verificado: " & User.EmailVerified)
If User.EmailVerified = False Then
User.sendEmailVerification
End If
End If
Log("SignedIn: " & User.DisplayName)
Else
ToastMessageShow("intente nuevamente,no pudo loguearse",True)
Log(info)
End If
StartActivity("cuenta_mail")' controlar que no exista creada la cuenta con anterioridad
End If
log result.
SignedIn: MlNCOrTUfEUUh0ELA28VKyVBL9p2
User:
eMail: ggimenez@correo.com
Anonymously: false
Email verified: false
SignedIn:
** Activity (main) Pause, UserClosed = false **
** Activity (login) Create, isFirst = true **
~w:1004,login,33
** Activity (login) Resume **
signInWithEmailnComplete: false
TaskIncomplete
Result received
onFailure: Exception raised
com.google.firebase.auth.FirebaseAuthInvalidCredentialsException: The email address is badly formatted.
Authex_SignedIn(false,Login Unsuccessful)
Login Unsuccessful
** Activity (login) Pause, UserClosed = false **
** Activity (cuenta_mail) Create, isFirst = true **
~w:1004,cuenta_mail,27
** Activity (cuenta_mail) Resume **
** Activity (cuenta_mail) Pause, UserClosed = false **
Regards