问题
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.
- Input phone number
- Get sms
- 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