<分区>
我在我的应用程序中使用 4 位 OTP 验证。 Firebase OTP 给了我 6 位数字,但我想要 4 位数字的 OTP。如何设置 OTP 数字限制?
<分区>
我在我的应用程序中使用 4 位 OTP 验证。 Firebase OTP 给了我 6 位数字,但我想要 4 位数字的 OTP。如何设置 OTP 数字限制?
最佳答案
截至目前(2019 年 8 月 1 日),还没有办法做到这一点。
很多人都提出了此功能的请求。一位谷歌员工给了 this response 2017 年在 Google 群组上。
Thanks for the request! We don't have plans in the short-term to support 4-digit codes but I can see why it might be a popular choice for some apps and we'll look into supporting the use case in the future. Just as a heads up, the Firebase support channel (https://firebase.google.com/support/) is a great way to file feature requests.
附录:要提交您自己的请求或报告任何与 Google 相关的错误,请点击 this link .
希望对您有所帮助。编码愉快!
关于android - 我如何设置 firebase OTP 数字的限制,例如 6 到 4?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57309588/
相关文章:
firebase - 具有电子邮件和密码身份验证的Firebase Dart
firebase - 为什么在我测试更新或创建时,firebase 模拟器会抛出无效的参数错误?
java - 如何在 android 中使用 Firebase 数据库中的图像填充 ListView ?
android - Fragments,如何从fragment启动Dialog?
java - ObjectInputStream.readObject() NotSerializedException
javascript - 火力地堡 : First Argument contains undefined in property
java - 如果几秒钟后仍未完成,则取消 firebase 上传