-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
signInWithEmailAndPassword() coroutine hangs on error #7
Comments
Will look at this when we can, a PR would def speed up the process thanks! |
@nbransby I wanted to do that, but I couldn't get the library to build. |
You followed the instructions? https://github.com/GitLiveApp/firebase-java-sdk?tab=readme-ov-file#building-and-contributing |
same issue |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When the email is invalid, the password is invalid, or the email is not found, the API returns 400 with an error payload. From that the
error.message
JSON field should be passed as errorCode to the FirebaseException constructor.Right now HTTP message (which is an empty string) is passed instead and since the FirebaseException requires the error code to be not empty, the constructor throws an exception. This exception is not passed to
Task
and the coroutine is never resumed.firebase-java-sdk/src/main/java/com/google/firebase/auth/FirebaseAuth.kt
Line 249 in c68b16c
The text was updated successfully, but these errors were encountered: