【问题标题】:skip robot verification in firebase phone authorisation using react native [duplicate]使用本机反应跳过firebase电话授权中的机器人验证[重复]
【发布时间】:2021-01-09 10:41:05
【问题描述】:

在 Firebase 中进行电话验证时,应用会打开 App-Name/auth/handler 页面并进行机器人验证并再次返回应用,然后收到 OTP。

我想跳过机器人验证的这个中间步骤。

我尝试过使用

 firebase().auth().settings.appVerificationDisabledForTesting = true;

但它似乎仅用于测试目的和在 IOS 中。

【问题讨论】:

  • 这被称为 recaptcha,因此请查看其中一些结果以了解有关此主题的先前问题:google.com/…

标签: android firebase react-native firebase-authentication


【解决方案1】:

通过注册您的应用程序以在 Google 的 SafetyNet 上正常工作,这适用于 android。

在此处查看有关 android 的文档:https://firebase.google.com/docs/auth/android/phone-auth#enable-app-verification

还有一个类似的问题是关于如何在遇到困难时启用 SafetyNet:https://stackoverflow.com/a/64657110/3668241

也许也感兴趣:

iOS为了避开验证页面,需要开启静默推送:https://firebase.google.com/docs/auth/ios/phone-auth#start-receiving-silent-notifications

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2020-12-22
    • 1970-01-01
    • 2016-09-12
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-12-01
    • 2015-05-18
    相关资源
    最近更新 更多