3

When I debug with Google Drive API, I met this problem:

First time when I call service.about().get().execute(); in my app, it will catch UserRecoverableAuthIOException and my code call startActivity.

But after I confirm the auth dialog , it never show up again.

I want to debug the whole auth routine, but how to erase auth data and let it raise the exception again?

MPelletier
  • 16,256
  • 15
  • 86
  • 137

2 Answers2

1

Just unconnect the app from where the Google service you use, such as the "Manage apps" setting in Google Drive webpage.

Yu-Hsuan
  • 505
  • 4
  • 9
0

Go to https://accounts.google.com/IssuedAuthSubTokens to revoke access of the app and expect the exception again.

An Hoa
  • 1,207
  • 12
  • 38