Closed jatu-studiobox closed 1 year ago
The library uses token for authentication except for legacy token (database secret) which will be expired in 1 hour after created and need to be refresh.
You should run Firebase.ready()
in loop to handle the authentication process or before whenever you want to access the Firebase services, like this.
The return value from Firebase.ready()
is the authentication status.
Please follow the examples first and read the comments in the examples for the details and important information.
Thank you very much for your help. :)
Hi,
I have some problem about 'token'. I use 'email & password' authentication with Firebase. If ESP32 don't working for a while, and then came back to work with RTDB. There is an error 'token is not ready'.
Below is my inititialize connect to Firebase
` void initFirebase() { / Assign the api key (required) / firebaseConfig.api_key = FIREBASE_API_KEY;
}`
Please advise me, how can I solve this problem?