-
Notifications
You must be signed in to change notification settings - Fork 9.8k
Add updatePassword functionality to firebase_auth plugin. #678
Conversation
@slightfoot Thanks for the PR. This change looks good. Would you mind rebasing on master, I'd be happy to merge then. |
e588ba4
to
c942c20
Compare
@kroikie rebased on master. |
Just linking to issues. FirebaseUser.updatePassword() - flutter/flutter#16775 flutter/flutter#19525 |
@slightfoot There is already a PR that updates email and it should land soon. Would you mind making this PR focus on just the password update? |
@kroikie I think you need to look at how these differ. Mine has the updateEmail/updatePassword/updateProfile in the FirebaseUser. Along with the Android code using the supplied |
c942c20
to
48de4a4
Compare
@kroikie rebased and fixed the merge conflicts. |
@slightfoot updateEmail has already been added, if you could remove the updateEmail parts of the PR I'd be happy to merge, thanks. |
@kroikie I'm happy to make changes. I need direction, because as I said in the original PR description and later on, that I moved |
If you guys allow me a suggestion, I would keep updateEmail() inside FirebaseUser (as it is already on the platforms and as it is already coded in this PR), and would publish this PR with a new major or minor version for the plugin. The good thing of keeping the method in the "same place" as the Android and iOS SDKs is that currently there's no documentation on firebase for flutter. So I see this similarity as an advantage. Actually, thinking in this way right now this PR contains two fixes:
Think about it: Android:
iOS:
Flutter:
|
Hi, any updates? Updating a user's password would be great. |
Actually sorting this out now along with fixing flutter/flutter#18312 |
2a7dd25
to
92156b3
Compare
@kroikie I've rebased to the latest master. Hold off on any merge. I have another PR coming up which you might want to review, and bring into the same release. I'll bring the other branch on top of this one so as to resolve any conflicts upfront. |
ce4e3b4
to
cdc9efc
Compare
Move `updateEmail` and `updateProfile` from FirebaseAuth to FirebaseUser. Minor cleani-up in Java. Updated tests. Fix dartfmt issue. Fix merge conflicts. Deprecated old methods. Updated Changelog. Review changes.
cdc9efc
to
2d18942
Compare
@kroikie review changes made. |
nudge @kroikie 😉 |
Hi, any update on this? |
@slightfoot Thanks a lot for this, sorry for the delay. |
…r#678) Add updatePassword functionality to firebase_auth plugin.
…flutter#678)" This reverts commit 8e1a4e5.
any update on this? |
@topex-psy this was merged a long time ago. You can find the functionality here. |
…r#678) Add updatePassword functionality to firebase_auth plugin.
Required functionality in recent project. Also moved updateProfile in dart code from
FirebaseAuth
toFirebaseUser
I believe this is the correctly place. So release changelog should be updated to reflect this breaking change.