Firebase 手机身份验证是否可以在没有 google play 帐户的情况下使用?

问题描述 投票:0回答:1

我还没有 google play 帐户,我正在尝试使用 Firebase 电话身份验证,并收到此错误(缺少客户端标识符)和(应用程序未授权)。 “注意:工作正常之前”。 所以,我做了一些搜索,我了解到我需要一个 google play 帐户,对吗?

implementation("com.google.firebase:firebase-appcheck-playintegrity")
implementation("com.google.firebase:firebase-appcheck-debug")
release {
            // TODO: Add your own signing config for the release build.
            // Signing with the debug keys for now, so `flutter run --release` works.
            signingConfig signingConfigs.debug
        }
  firebase_core: ^2.24.2
  firebase_database: ^10.3.8
  firebase_auth: ^4.15.3
  firebase_app_check: ^0.2.1+6
await FirebaseAppCheck.instance.activate(
    androidProvider: AndroidProvider.debug,
    webProvider: ReCaptchaV3Provider('recaptcha-v3-site-key'),
  );

firebase firebase-authentication recaptcha
1个回答
0
投票

拥有 google play 帐户与此错误无关,

确保 Firebase 项目中的 API 密钥和 SHA 证书指纹正确。

© www.soinside.com 2019 - 2024. All rights reserved.