I am developing an android app using firebase for user management and authentication. I was wondering when the auth state listener gets called and how it works, as in my app
As the Firebase API says:
AuthStateListener is called when there is a change in the authentication state.
OnAuthStateChanged gets invoked in the UI thread on changes in the authentication state: