Everyone! Now I am developing a project using React Native. In this project, I use firebaseSDK.
But when I try to login, this error raise up.
ERROR [Error: [firestore/unavailable] The service is currently unavailable. This is a most likely a transient condition and may be corrected by retrying with a backoff.]
ERROR The above error occurred in task login
I try to find solution on Google, but I can't find solution suitable for me. I want to make sure I have enabled Firestore on the Firebase console. How to do that?
CodePudding user response:
Go to your firebase project in
then you need to setup your database by clicking Create Database
button and completing setup
CodePudding user response:
Please make sure that it is connected to internet for firebase operations.
CodePudding user response:
Everyone! Thanks for all who answered my question. And also thanks for other viewers.
Strangely, first time when I try to login, it raise up an error that I mentioned above. But if I reload my app, it automatically login success.
I can't sure why this happen.