Error on Firebase login failed

Hi

So i implemented the Firebase Authentication… it worked fine on the login succesful block

But on the Login Failed, if user type wrong e-mail/password it appears “Given string is empty or null - End Application”

Did i set the login failed block wrong?loginfailed

Your blocks are Ok.

That error is coming because of empty string. When user keep email/password text boxes empty and try to login this error will come.

Use If then condition when login clicked :

If email/password text box = blank ( take empty string)
Then show alert : Please fill all details
Else login

You will have to use if then block. get provider in ‘if’ and in ‘then’ you will have to put notifierblocks

I have the same problem @Light17 can you confirm that this method solved your problem.

Uhm… It didn’t solve my problem.