https://kotlinlang.org logo
Title
u

user

06/21/2022, 11:51 PM
FirebaseAuth.AuthStateListener updating state after registerForActivityResult I am observing the Firebase Authentication State from my MainActivity to handle login and sign our events. This works fine for the most part, however when I select an image from the gallery using registerForActivityResult in my Fragment, the Authentication State logs another "authenticated" change and runs the code within the observer. Why would the Authentication State being observed again if nothing has changed? MainActivity.kt: private fun observeAuthenticationState() {...