Firebase Auth: This app is not authorized to use Firebase

北城以北 提交于 2021-01-27 18:44:36

问题


My app/build.gradle:

compile 'com.firebaseui:firebase-ui-auth:2.3.0'
    compile 'com.google.firebase:firebase-auth:11.0.4'
    compile "com.android.support:design:26.1.0"
    compile "com.android.support:customtabs:26.1.0"
    compile "com.android.support:cardview-v7:26.1.0"

And in DEBUG mode I sucess auth. by Firebase Auth.

  1. Input phone number
  2. Get sms
  3. Success confirm by sms

OK. It's work fine.

But when I want to do this in release mode I get the next error:


回答1:


Go to project settings

and at the bottom click

See https://developers.google.com/android/guides/client-auth for how to create the SHA1



来源:https://stackoverflow.com/questions/46484685/firebase-auth-this-app-is-not-authorized-to-use-firebase

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!