Google Drive API: Software Login

I am developing the application that is required to upload a file to Google Drive. I began to learn the API at the following link. https://developers.google.com/drive/ios/quickstart

Currently, I have to upload the file to download first. But in my application, every time there is the same account, it will be used to download the file. So, is there a way I can get around GTMOAuth2ViewControllerTouch (login screen).

Please help me. I will be very grateful for your replay.

+6
source share
1 answer

Most Google APIs currently require the OAuth 2 token, and so far it is only available through the streaming input stream that gtm-oauth2 provides. Some older Google APIs support the ClientLogin protocol, in which the username and password are supplied directly by the application, but the newer APIs do not.

Remember that hardcoding any account authorization (especially the account password) in the application binary is a security risk and this is bad practice.

0
source

All Articles