googleworkspace / android-samples

Android samples for Google Workspace APIs
Apache License 2.0
635 stars 410 forks source link

Result from signIn is never Activity.RESULT_OK #111

Closed Shedaim closed 5 years ago

Shedaim commented 5 years ago

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.

Shedaim commented 5 years ago

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