googleworkspace / android-samples

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

How to configure sample for testing? #128

Open 3c71 opened 4 years ago

3c71 commented 4 years ago

I downloaded the sample, and ran it on a Pixel 3 Android 10 (tried on Nexus 9 too).

It requests sign-in and after selecting a user and confirming access, it then fails with this error in logged:

" Unresolved error while connecting client. Stopping auto-manage "

And onActivityResult() is called with a RESULT_CANCELLED and an Intent saying DEVELOPER_ERROR:

" Intent key googleSignInStatus = Status{statusCode=DEVELOPER_ERROR, resolution=null} (Status) "

I can't figure out where to put the client ID, so I suspect that's why it fails, however I can't find any information about that, anywhere.

Credential and oauth consent are both created, didn't use any of the 100 preliminary queries, nothing works.

Any help would be much appreciated.

3c71 commented 4 years ago

Never-mind, it started to work out of the blue...

seanpjanson commented 4 years ago

Man, I retired 2 years ago. Don't even remember what if/else does. Cheer, keep the fire burning. Sean

On Fri, Mar 6, 2020 at 1:45 PM 3C notifications@github.com wrote:

Never-mind, it started to work out of the blue...

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/gsuitedevs/android-samples/issues/128?email_source=notifications&email_token=AA3SFEQWSP7TL2HI2NAKLRLRGFOGTA5CNFSM4LDCZDOKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOCZRZY#issuecomment-595957991, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA3SFEQS77UGTISHQMPZDJDRGFOGTANCNFSM4LDCZDOA .