【发布时间】:2023-03-29 10:29:01
【问题描述】:
我在 iOS 和 Android 中为我的应用程序使用 Firebase 电话身份验证。当我收到 OTP 消息时,我注意到 iOS 和 Android 上收到的消息有所不同。
iOS OTP 消息读取xxxxxx is your verification code for myAppName.firebaseapp.com.(授权域名)。
而 Android OTP 消息读取 xxxxxx is your verification code.
在 Authentication 部分和 Templates 选项卡下的 firebase 控制台中,选择 SMS 会显示不同的模板。 %LOGIN_CODE% is your verification code for %APP_NAME%.
我需要在 iOS 和 Android 中将 OTP 消息显示为 xxxxxx is your verification code for My App Name.。
我也在项目设置中更改了项目名称和面向公众的名称。但消息没有变化。
这是一个错误还是我错过了什么?
【问题讨论】:
-
您是否正在通过 iOS 中的 reCAPTCHA 流程?
标签: android ios firebase firebase-authentication one-time-password