Closed fmasa closed 2 months ago
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
@nbransby I sort of got this to work, but there were some problems (I opened #10 for that).
I created the PR #9
same issue
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.https://github.com/GitLiveApp/firebase-java-sdk/blob/c68b16cd0c9428395ddf580a7c2b6a09696321e4/src/main/java/com/google/firebase/auth/FirebaseAuth.kt#L249