Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8916309
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T05:12:36+00:00 2026-06-15T05:12:36+00:00

I am trying to integrate Google Drive Api for IOS. I am testing their

  • 0

I am trying to integrate Google Drive Api for IOS. I am testing their example program here

DrEdit when they upload or download a file they use mimetype such as when they upload a file

[GTLUploadParameters uploadParametersWithData:fileContent MIMEType:@"text/plain"];

when api downloads the same file it uses

GTLQueryDrive *query = [GTLQueryDrive queryForFilesList]; query.q = @"mimeType = 'text/plain'";

I can upload and download files made in Dr.Edit but if I modify or create a file using web interface or using local drive client for mac os. These file are not shown in my application. I tried different mimeTypes, and different search parameters from here. But it works only for files created in Dr.Edit. What is the problem?

Is there any other parameters which can help me display all files in Google Drive.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T05:12:39+00:00Added an answer on June 15, 2026 at 5:12 am

    Changed the scope in method authButtonClicked of DrEditFilesListViewController.m

    Replace this scope kGTLAuthScopeDriveFile with kGTLAuthScopeDrive as follow

    GTMOAuth2ViewControllerTouch *authViewController = 
      [[GTMOAuth2ViewControllerTouch alloc] initWithScope:**kGTLAuthScopeDriveFile**
                                                 clientID:kClientId
                                             clientSecret:kClientSecret
                                         keychainItemName:kKeychainItemName
                                                 delegate:self
                                         finishedSelector:finishedSelector];
    

    to

    GTMOAuth2ViewControllerTouch *authViewController = 
      [[GTMOAuth2ViewControllerTouch alloc] initWithScope:**kGTLAuthScopeDrive**
                                                 clientID:kClientId
                                             clientSecret:kClientSecret
                                         keychainItemName:kKeychainItemName
                                                 delegate:self
                                         finishedSelector:finishedSelector];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Iam quite new to Google chart API's and I am trying to integrate it
I am trying to integrate the Google Plus API into my web application. I
I'm trying to integrate Google Places API using Apache Camel (2.10-SNAPSHOT) and Spring (3.0.7.RELEASE)
If you remember, I'm trying to integrate Google Drive within our website, which is
I am trying to integrate my app with a Google API, say Google Tasks,
I'm trying to integrate the Google Data API into my application. I'm using the
I am trying to integrate a Google Picker for selecting files from Google Drive
I am trying to integrate google checkout with my current site. I am calculating
I'm trying to integrate google-code-prettify to my site in order to prettify Java code.
I'm trying to integrate the Google Federated Login with a premier apps account, but

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.