Reputation: 755
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.
OK. It's work fine.
But when I want to do this in release mode I get the next error:
Upvotes: 2
Views: 7519
Reputation: 1
Just add a SHA1 and SHA-256 into your firebase fingerprint
Step1: Run this command into your project terminal "cd .\android" and then keytool -list -v -keystore c:\Users\User_name.android\debug.keystore -alias androiddebugkey -storepass android -keypass android You will get a SHA keys Step 2: Copy those keys and add them inside the firebase fingerprint inside Project settings->users
Upvotes: 0
Reputation: 1
Add SHA1 from google play console . If you public app you must get SHA1 from your google play console and add it in firebase setting. It worked for me when i publiced my app has google sign in feature firebase. I know it too late for answer but hope it help for someone else in present.
Upvotes: 0
Reputation: 657308
Go to project settings
and at the bottom click
See https://developers.google.com/android/guides/client-auth for how to create the SHA1
Upvotes: 1