-
Notifications
You must be signed in to change notification settings - Fork 9.8k
Adding support to setLanguageCode to FirebaseAuth #683
Conversation
@@ -411,6 +411,15 @@ class FirebaseAuth { | |||
return currentUser; | |||
} | |||
|
|||
/// Sets the user-facing language code for auth operations that can be | |||
/// internationalized, such as [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.
Please include the formatting requirements (IETF in BCP47) in this comment.
Eg: as in Android reference docs
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.
done
@ffeu Thanks for the PR, this looks good. Could you please:
|
LGTM |
Hello, the email await FirebaseAuth.instance.setLanguageCode('es');
final user = await FirebaseAuth.instance.currentUser();
await user.updateEmail('example@gmail.com'); I am doing correct? |
@basketball-ico PS: the best place for questions like this is stackoverflow. |
@ffeu Hi thanks I try this, but the |
* Adding support to setLanguageCode to FirebaseAuth
related issue:
flutter/flutter#19525