Android Google Auth Sign In get Id token handleSignInResult:false

后端 未结 4 987
隐瞒了意图╮
隐瞒了意图╮ 2021-01-20 07:41

I am setting GoogleSignInOptions and Google Api Client like this

    GoogleSignInOptions gso = new GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SI         


        
4条回答
  •  暗喜
    暗喜 (楼主)
    2021-01-20 08:07

    Follow all the step!!..

    Release APK and debug APK has different SHA1 and different API keys for google services. Both of them must be added in Firebase Console -> Project settings. Then download google-services.json from here, add it to project and recompile with release keystore using the option "Build signed APK". That should work

    and also read carefully...

    https://developer.android.com/studio/publish/app-signing

提交回复
热议问题