googleworkspace/android-samples

Result from signIn is never Activity.RESULT_OK

Shedaim opened this issue · 1 comments

I added the entire project to my own application, exluding the layout and it's buttons respectively.
I only perform requestSignIn on one of my activity buttons.

Actual Behavior

requestSingIn starts the sign in activity, I choose a Google account and application goes back to activity,
Checking Logcat, I don't see any logs by handleSignInResult, so I checked the resultCode on onActivityResult, and it seems the resultCode is always 'zero', therefore never entering handleSignInResult.

I did not try to read/edit/create any files yet.

Ok nevermind, I was trying to sign in using a build on an emulator without the keystore.