Firebase Authentication authStateChange listener has not been called after app comes from background mode #559
-
So the problem is that if an app was not opened for a while and it is in the background on iOS, and the user opens it again, authStateChange is not called and my app is not rendered, I have such a code (simplified). Please give me some advice of how to fix that 🙏:
|
Beta Was this translation helpful? Give feedback.
Answered by
robingenz
Feb 15, 2024
Replies: 1 comment 6 replies
-
I will fix #560 later. This might help you. |
Beta Was this translation helpful? Give feedback.
6 replies
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Besides that, you need to call
getCurrentUser(...)
when using livereload because the listener fires only at the first start (because the native listener is only added once). This is the code i'm using for https://ionstarter.dev/: