繁体   English   中英

auth/app-not-authorized 此应用无权使用 Firebase 认证。 请验证正确的 package 名称和 SHA-1

[英]auth/app-not-authorized This app is not authorized to use Firebase Authentication. Please verify that the correct package name and SHA-1

请帮助:我已经尝试了很多方法,但仍然出现错误:

[auth/app-not-authorized] This app is not authorized to use Firebase Authentication. Please verify that the correct package name and SHA-1 are configured in the Firebase Console

我试图在 firebase 的反应本机应用程序上使用电话身份验证登录。 我正在使用https://rnfirebase.io/auth/phone-auth

我在 firebase 上启用了电话号码登录。 我启用了 Android 设备检查 API。 我在 firebase 上创建了一个 android 项目,其中 package 名称与我的名称代码中的 ZEFE90A8ZE604A7F6C87D 名称相同。 我已将指纹添加到 firebase,SHA-1 和 SHA-265。 这些指纹是 google play 控制台 -> 应用完整性 -> 应用签名下的指纹。 我还添加了输入此命令时注销的指纹:./gradlew signingreport。 当我更改内容时,我总是更新 google-services.json 文件。 我已经清理了 android 文件夹并重建它,但我仍然不断收到该错误。 我正在使用真实的设备。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM