I am trying to enable google signin in my android app following this tutorial.. But GoogleSignInResult#isSuccess() always return false. The value of result.getStatus().getStatusCode(); is 0 which was success accoding to GoogleAPI's CommonStatusCode
I researched a bit and found similar issues. I have tried
Generating a
google-services.jsonfrom SHA key from my application and pasting it in my app folder.Also by generating signed apk and seprately(not running from android studio) installing it in my phone
But none of them works for me.
Any help would be appreciated