This repository has been archived by the owner on Feb 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
[Firebase Auth] added access to User metadata #718
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
e18c849
to
f90181f
Compare
a077b50
to
3eed5ff
Compare
kroikie
reviewed
Sep 10, 2018
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@LucasParsy This change looks good to me, thanks! Could you please make and update to the change log and bump the version number
cd17003
to
684bbc9
Compare
I merged my change with the HEAD. (8178bf1) |
hello, could you merge my commit? |
allows to recover the account creation date, and the last sign in date of an user. With them, you can determine if a user logs in for the first time. (and then, create a welcome/ setup page, for example)
@LucasParsy thanks for the PR! |
andreidiaconu
pushed a commit
to andreidiaconu/plugins
that referenced
this pull request
Feb 17, 2019
* add access to user metadata
andreidiaconu
added a commit
to andreidiaconu/plugins
that referenced
this pull request
Feb 17, 2019
This reverts commit 2e24074.
julianscheel
pushed a commit
to jusst-engineering/plugins
that referenced
this pull request
Mar 11, 2020
* add access to user metadata
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
allows to recover the account creation date, and the last sign in date of an user.
With them, you can determine if a user logs in for the first time.
(and then, create a welcome/ setup page, for example)
this metadata field was available in both native API, as shown in the documentation.
https://developers.google.com/android/reference/com/google/firebase/auth/FirebaseUser.html#getMetadata()
I implemented its access in the Dart library.
example usage: