Is that possible to download google derive files without integration with ios - ios

Is that possible to download files from google drive without integrate it's sdk (class files) or authentication. Consider following scenario:
I Used UIWebView in mysample application.
I am logged in to Google Drive through UIWebView (Like logged in to google drive same as browser logged in).
Now i want to download google drive documents in to mysample application document folder.
Problem:
When i am trying to download file from google drive it will now downloaded (I am using nsurl connection or ASIHttpRequest for download file).
I Integrate GoogleSDK (Class Library) in another sample application it will work fine and files are downloaded using file.downloadURL.
Now, My simple question is can we download files from google drive by UIWebView logged in or not? Is there any way?

We don't support integrating with the iOS web view, and suggest you use the SDK.

Related

Google drive style excel download in angularJS

How can I provide google drive type excel download functionality in my site developed in angularJS? I am currently using filesaver.js but it does not work on MacBook Safari. I checked google drive is able to download excel files correctly. Any pointers??

Google Drive iOS SDK Shared Folder

I have an iOS app that loads PDF's for viewing. I want to allow the app to get the PDF's from a shared folder in google drive that is shared by some main admin account.
I have created a google drive project and set up OAuth for my app and am able to successfully list files using various queries with GTLQueryDrive.
The issue I am facing is related to the auth scope.
Lets say the google account hosting the files contains a shared folder: PDFAppFiles. We share this folder with 20 people.
Is there a way in my iOS app to request the auth scope for just that folder? I don't see this option listed: https://developers.google.com/drive/v2/web/scopes
Or, should I be approaching this problem a different way?
As the scopes page suggest, it authorizes your app to do what the requested scope is. This is a bit different from asking or setting permissions to a file or folder.
My recommended approach for the problem is to set permissions for every folder you want to control. The Share Files page of the Drive documentation details how you can do it.

Download files from google drive

In my app i have to show a list of docs from users google drive account. User will be able to download it.
I have implemented Google Drive ios sdk, successfully implemented login and also fetching the files.
But there is no download url to download the files.
Scope is kGTLAuthScopeDrive
In some stackoverflow posts i saw people posted downloadUrl property of GTLDriveFile. But in my SDK there is no such property.
Maybe they changed something in the latest SDK.
Need help here . I am really stuck at the moment.

How can I Present the Google Drive file picker like Dropbox chooser in ios?

I want to download files from google Drive into documents directory.
As the option for Dropbox chooser is available in IOS to pick the file from dropbox ,Is there any way out to do the same for Google Drive or the only way is using Oauth 2.0.

Upload public file to dropbox from iOS App without auth

Am writing an iPhone App in which I want to upload a text file from the iOS App to somewhere & I thought of using dropbox for it. I will upload the file to my dropbox ID from the App (i.e. the user won't be required to authenticate with his/her dropbox credentials). Is this possible? Dropbox API (I even tried GDrive API) asks for auth ; how do I give my dropbox credentials through code & upload the file to my dropbox account?
You must need Auth,otherwise in which account the file gets uploaded??
I don't think there is any other means to accomplish this except through OAuth.
Please refer to this framework that enables your app to access files from Dropbox without having to worry about the complexities of implementing a file browser, OAuth, or managing uploads and storage.

Resources