-
Notifications
You must be signed in to change notification settings - Fork 9.8k
Add send verification mail #529
Add send verification mail #529
Conversation
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed (or fixed any issues), please reply here (e.g. What to do if you already signed the CLAIndividual signers
Corporate signers
|
Ok, Google! I signed It! |
CLAs look good, thanks! |
Thanks for the contribution! Can I ask you to
|
cd1ee0b
to
c63a495
Compare
packages/firebase_auth/CHANGELOG.md
Outdated
|
||
* Added support for linkWithFacebookCredential | ||
|
||
## 0.5.6 | ||
|
||
* Added support to sendEmailVerification |
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.
This is the 0.5.7
addition, right? (Merge mixup?)
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.
yes, sorry :/
@@ -78,6 +78,10 @@ class FirebaseUser extends UserInfo { | |||
}); | |||
} | |||
|
|||
Future<void> sendEmailVerification() async { | |||
return await FirebaseAuth.channel.invokeMethod('sendEmailVerification'); |
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.
return
is confusing here and can be deleted.
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.
LGTM, thanks!
I'll publish once #530 lands. |
Add the method to send verification email to user.
Refers to issue flutter/flutter#12459