We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation .
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
setLanguageCode
Yes, right place.
language locale in auth blocking function is "und" which means undetermined. This is occuring even when setting the language code.
First reported on FlutterFire repo: firebase/flutterfire#12519
This is not an issue on firebas-ios-sdk.
Logcat shows why it is "und":
2024-04-03 09:50:57.889 26056-26147 System io.flutter.plugins.firebase.tests W Ignoring header X-Firebase-Locale because its value was null.
I have a repo with reproduction here: https://github.com/russellwheatley/firebase-android
Here are the steps taken from README:
npm i
npm run deploy
authBeforeUserCreated {"locale":"und",....other properties}.
FirebaseApp app = FirebaseApp . getInstance (); FirebaseAuth auth = FirebaseAuth . getInstance ( app ); auth . setLanguageCode ( "en-US" ); auth . createUserWithEmailAndPassword ( "test-email@testemail.com" , "qwerty123" ). addOnCompleteListener ( task -> { if ( task . isSuccessful ()) { Log . d ( TAG , "User created successfully" ); } else { Log . d ( TAG , "User creation failed" ); } });
The text was updated successfully, but these errors were encountered:
Hi @russellwheatley , thank you for reporting the issue. I was able to reproduce the issue with the MCVE you shared. I noticed that eventhough the locale shows und the verification email language is correct. I’ll notify our engineers and see what we can do here.
und
Sorry, something went wrong.
Hi @lehcar09 , any updates on this issue? Maybe a workaround?
No branches or pull requests