rlamasb / Firebase.Xamarin

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

Authentication exceptions #15

Open batrand opened 8 years ago

batrand commented 8 years ago

There are some cases, like register with an email that is already registered and signing in with a wrong password, that the library only return a HTTPRequestException with the message of "BAD Request 400". I've checked FirebaseAuthentication.net and it seems like they have a FirebaseAuthenticationException that will provide more information for easier debugging, but it seems like it's not exposed in Firebase.Xamarin. I'm developing on Xamarin and I can't install FA.net to it, so I can't know for sure. Are there plans to expose the exception or to implement equivalent facilities in Firebase.Xamarin?

dthall43 commented 8 years ago

This is something you could do. I looked into it yesterday and it seemed fairly easy. I may fork and do it myself. If so i'll message you.