nikhil-31/HackerNewsFirebaseApp

Google sign-in fails

Closed this issue · 3 comments

Error message (toast) pops up saying: Google sign-in failed, please try again

To run the code with the release build. In the app build.gradle file
config {
keyAlias 'key0'
keyPassword 'hackme789'
storeFile file(' /** Change path to the keystore present in the root of the app in your machine **/')
storePassword 'hacker12345'
}
Debug builds will not work as the SHA-1 key unique to your system is not present in the firebase console.

I have downloaded and tested it with the current apk file and google sign in is working

Added a check to see if the device is connected to a network, if not connected will show an appropriate error message. Tested with all my google accounts and found working with APK in root folder.