-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[firebase_ui_auth] Emit SignedIn
event after UserCreated
#382
Comments
Not exactly sure if we want this behavior or not, but if this is intended it needs better documentation |
@Rexios80 - Please provide a code sample for me to drop in to example app so I know specifically what you're referring to. Thanks. |
@russellwheatley The example code in the readme has this issue: https://pub.dev/packages/firebase_ui_auth Using that code, the app does not go to the signed in page after registering a new user because there is no handler for the |
I'm running into this as well - my
Here's what this outputs when I login using Google:
|
@Rexios80 - this is intentional behaviour which you can find here: https://github.com/firebase/FirebaseUI-Flutter/blob/auth-353/packages/firebase_ui_auth/lib/src/auth_flow.dart#L149-L156 When user is signed-in, it is one or the other value depending on whether the user is new or not. You're correct though, perhaps it could be better documented though. We happily accept PRs if you want to update the documentation: https://github.com/firebase/FirebaseUI-Flutter/blob/main/docs/firebase-ui-auth/providers/email.md?plain=1#L103-L105 |
Is there an existing issue for this?
What plugin is this bug for?
Firebase UI Auth
What platform(s) does this bug affect?
No response
List of dependencies used.
Not relevant
Steps to reproduce
SignedIn
event is not sentExpected Behavior
SignedIn
event is sent afterUserCreated
eventActual Behavior
SignedIn
event is not sent afterUserCreated
eventAdditional Information
No response
The text was updated successfully, but these errors were encountered: