Skip to content

Conversation

Lyokone
Copy link
Contributor

@Lyokone Lyokone commented Sep 18, 2025

Implement isSignedIn(), getCurrentUser(), and authStateFlow(): Flow to expose auth state and user.


// Create auth state listener
val authStateListener = AuthStateListener { firebaseAuth ->
val currentUser = firebaseAuth.currentUser
Copy link

@demolaf demolaf Sep 18, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With the potential of having to handle more states, would it be better to use when instead?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hum, we are determining states here depending on conditions, not sure it's required.

Copy link

@demolaf demolaf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Lyokone Lyokone merged commit 91b0a49 into version-10.0.0-dev Sep 18, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants