faced this error on bad network?
I tried to catch error by putting it in promise and try catch block, but no results! Any help?
What version of firebase are you using?
Can I see the code? ,and also I don't think a createUsef function exists in auth
createusef? If You mean currentUser so it's not fn but returns a value. By the way I aldo used onauthstatechanged fn as alternative to currentUser
Yeah you can access onAuthOnChange like this
Have you gone through the docs?
In try catch block when i log auth(), even if the error happens the try block runs and returns auth object. It means it's not about existence of auth object. It's sth else that I don't know!
Обсуждают сегодня