Skip to content
This repository has been archived by the owner on Oct 8, 2022. It is now read-only.

Latest commit

 

History

History
19 lines (13 loc) · 824 Bytes

readme.md

File metadata and controls

19 lines (13 loc) · 824 Bytes

Drive Module

Authentication

Authentication is done using OAUTH. We require the https://www.googleapis.com/auth/drive.readonly scope to be able to list and get a preview of the files.

You need a client ID. You can obtain a client id by going to https://console.developers.google.com/apis/credentials.

You will need to create a client ID for IOS. This is important as otherwise Google Oauth only supports redirecting to an url.

The Google Drive API needs to be enabled as well: https://console.developers.google.com/apis/library/drive.googleapis.com

Limitations

  • Google Slides and Google Docs are the only formats that support preview.
  • The Google Drive API does not return the total number of results. Therefore, it cannot be displayed.

Resources