rlamasb / Firebase.Xamarin

Light weight wrapper for Firebase Realtime Database REST API.
MIT License
149 stars 39 forks source link

How to know if the password is incorrect in login? #6

Open neonef opened 8 years ago

neonef commented 8 years ago

When I login with SignInWithEmailAndPasswordAsync() I get a Bad Request exception.

I have the same issue with CreateUserWithEmailAndPasswordAsync(), where I don´t know if the email is registered previously, only get a Bad Request.

Thanks.

se1exin commented 8 years ago

@neonef - Have a look at https://github.com/se1exin/Firebase.Xamarin where @b8ne has implemented custom exceptions for different failed login use cases.

Note: the linked repo is not available on NuGet - you will need to clone and add it to your project manually.

@rlamasb - @b8ne and I have been working on the project for our own specific requirements (under https://github.com/se1exin/Firebase.Xamarin), however if you would like a PR just let me know.