【发布时间】:2020-09-08 15:16:42
【问题描述】:
Firebase 很棒,很容易统一设置电子邮件身份验证,甚至发送密码重置电子邮件。 但是,我不知道如何设置电子邮件语言。
在Java for android中代码是:
FirebaseAuth auth = FirebaseAuth.getInstance();
auth.setLanguageCode("fr");
// or auth.useAppLanguage();
auth.sendPasswordResetEmail("mymail@me.com")
但我在统一的 c# SDK 中找不到等价物。
FirebaseAuth auth = FirebaseAuth.DefaultInstance;
auth.setLanguageCode("fr"); // this methode doesn't exist
auth.SendPasswordResetEmailAsync("mymail@me.com");
【问题讨论】:
-
不知何故,作为用户/开发人员,我希望它会自动使用用户为他/她自己配置的语言进行本地化,对吧?
标签: c# firebase unity3d firebase-authentication