Firebase Authentication not working on App Resume

When the application clicks on other applications from the notification bar to leave and then opens the application from the recent list soon, I found that the firebase authentication component similarly did not work at this time, because the mobile phone number label in the user’s personal information is empty Yes, but from the chat interface, I can see that the chat history of both parties should have been on the right and now appears on the left. Is there any way to initialize the screen when the application is opened from the recent list?

Calling the Auth procedure again on app resume should fix it up.

1 Like

I tried it, but I don’t know why firebase is not working when all code blocks are running. I can only use the local microdatabase to store some user data about firebase as a precaution against disconnection.

show us your firbase blocks… And when it gets triggers?