How to use Google Drive SDK in Android project with hardcoded credentials

后端 未结 2 2142
甜味超标
甜味超标 2020-12-01 23:17

How can I hardcode credentials to my Google Drive Service so users of the app will always get acces to my files without auth?

I have found solution using Java SKD bu

2条回答
  •  [愿得一人]
    2020-12-01 23:48

    You probably don't want to do this. If you have an access token you can always add it as a URL parameter access_token=MY_ACCESS_TOKEN to the request URL.

提交回复
热议问题