UserRecoverableAuthException: NeedPermission

后端 未结 6 649
醉酒成梦
醉酒成梦 2020-12-01 09:16

I tried to follow tutorial: https://developers.google.com/android/guides/http-auth.

Code:

token = GoogleAuthUtil.getToken(getApplicationContext(),
           


        
6条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-01 10:02

    The docs have been recently updated and now work to support SDK M(requesting permission) and also show the OAuth dialog.

    NOTE Google Docs are often not up to date but they seem to pay attention when you report an issue. The example was updated with a week of me sending a feedback. So if you see a non-working example, send feedback!

    https://developers.google.com/drive/v3/web/quickstart/android

提交回复
热议问题