Access DropBox or Google Drive API from a Web app - ios

Apologies if this is a rubbish question, but it's something I've never had to give much thought and I'm short on time. I have a Web App which is required to run offline and on iOS. This Web App has a lot of content consisting mainly of videos. One solution we are thinking of is to utilise DropBox's or Google Drive's API's to download the content and access it.
The main issue with this is whether you can access a native app (DropBox or Google Drive) from a browser or Web App. Does anyone know if this is possible?
Ideas so far are:
Access Drop Box or Google Drive native app from a web app (not sure if this is possible and is the current question)
Wrap up the web app to make it a hybrid native app using something like Phone Gap (this is plan B but will have its own issues)
Convert to a Google Chrome App to get improved access to Google Drive API (not sure how this would function on iOS)
Start from scratch and build a native iOS app (a longer term solution)
Thanks
Chris

Late, but maybe helpful: www.cloudrail.com
It's a useful Javascript library to access the Dropbox and Google Drive API

We ended up making a hybrid app using PhoneGap for iOS.

Related

How to get statistical data of app usage of other applications on IOS using react native?

I've been trying to see if it's possible to get information about app usage on IOS. For example, how much time a user spends on his/hers Facebook or Safari applications. How could one go about doing this within a react native application? Is it possible to do it with any framework?
No, it’s not possible. Apple is very strict about this.
An app cannot access other apps' sandboxes, for any reason. Everything an app can do is restricted to its own sandbox, and in no way can other sandboxes be accessed.
User security is very important for Apple.
If the app you are trying to get the data about has an SDK that can be integrated in your react native app, and the SDK has APIs to provide information about usage analytics for the user(which I don't think is possible with FB SDK), you could ask the user for authorization via the SDK and show them the usage analytics information. Although, chances of these APIs being in an SDK are slim, this might be the only way.

Different analytics for website and app with webview

I don't have a lot of experience with Google Analytics so sorry if it's an easy question.
At the moment, I have a website with Google Analytics. I am planning to do an app that will contain a webview with this website. Is there a way I can differentiate the analytics coming from the app and the ones coming from the website?
We now have some tracking coming from webviews but this is when someone opens the link of our website in other apps (like Mail, Twitter...).
I basically need a specific tracking for our specific app.
Thank you for your help!

iOS - Objective-C - How Do I Pull Files From Google Drive? (Preferably Documents)

I'd like to know how I can pull a file from Google Drive, specifically a document file. I'd also like a way to display this document on an application. Does anyone know a way that this can be achieved?
I've heard something about a Google Drive API, but I've never really figured out how it works.
If anyone could tell me how I can do this, that'd be great. Keep the questions simple as I'm quite new with Objective-C and iOS.
I'm currently using XCode to build this application.
You can integrat the google drive to your app,for that you need the help of google Drive API for iOS.
Below link is the introduction to the API's
Introduction to the Google Drive Platform for iOS
Drive API for iOS
Google Drive Integration in iOS app this tutorial helps you for integration.

iCloud for web application

Has Apple provided public API for web applications?
I want to build an application which will be similar to dropbox.
I want the user to be able to manage files and edit them from their devices (iphone/ipad/mac) and from website (any browser based) too.
Is this possible now to see the list of files using iCloud API?
Thanks.
As I just stumbled across this thread while searching for a solution for iCloud contacts in my web-app, I just wanted to add that nowadays CloudKit JS seems promising for this use case. It's a bit unfortunate it needs an app on its side, but it's still better than nothing :)
Can I use iCloud API in web application?
No, Apple only provides APIs that can be used within native apps on iOS or OS X devices. There's no documented API that could be used for a browser-based interface to a user's iCloud account (some API apparently exists, since Apple uses it, but third parties do not have access).

How did Google Music for iOS access data from another iOS App?

Today I downloaded the new Google Music app for iOS and it immediately had me signed in already. I assume they accomplished this using one of the other Google Apps on my phone. To keep this appropriate for StackOverflow, here's the question, specific and objective:
How (technically) can an app (like Google Music) authenticate a user using data from another app (like Google Search or Google Chrome)? I was under the impression that apps in iOS were entirely sand boxed.
I'm very curious in finding a technical explanation for this, so if someone could recommend a way to rephrase or retag the question, please feel free to edit or migrate.
iOS Keychain can be shared with your other apps via access groups, see this for example.

Resources