【发布时间】:2018-04-24 06:53:29
【问题描述】:
我正在使用 firebase 进行手机身份验证,当我在我的真实手机上运行应用程序并输入我的真实号码时,我从未收到任何代码,这会显示在 logcat 上
com.google.firebase.auth.FirebaseAuthException: This app is not authorized to use Firebase Authentication. Please verifythat the correct package name and SHA-1 are configured in the Firebase Console. [ App validation failed ]
at com.google.firebase.auth.api.internal.zzce.zzb(Unknown Source:171)
at com.google.firebase.auth.api.internal.zzdf.zza(Unknown Source:2)
at com.google.firebase.auth.api.internal.zzdg.run(Unknown Source:36)
我检查了包名和 SHA-1 都是正确的
【问题讨论】:
-
确定我编辑了帖子
-
你有没有尝试解决它?目前有很多 stackoverflow 问题与此完全相同的错误。
-
他们中的大多数人说检查 SHA1 代码是否与 firebase 上的代码匹配或重新同步项目,我都做了但仍然是同一个问题
标签: android firebase firebase-authentication