iOS Google Drive SDK Application-owned Account - iphone

I need to read a set of spreadsheets from Google Drive in an iPad app, and these are stored in an account made specifically for the app. So, I stumbled on this https://developers.google.com/drive/service-accounts which makes total sense. But how am I supposed to use this in iOS? When using a regular account, I couldn't find a method that allows me to set the refresh token mentioned in that documentation. The service account mechanism looks even more confusing/tricky and there are no code samples in Objective-C. Has anybody got a clue?
Thanks in advance.

Related

Is it possible to gather other apps data in swift?

I'm building an web application with react-native.
In this app I need to gather some information about users.
One of them is how much time they spend on other apps installed on their phone.
I couldn't find any library for this job, so I've decided to write the native code my self.
For android, apparently there is this UsageStatsManager that can help me achieve what I want.
But when I searched for sth similar in ios, I found lots of old forums saying that this is not possible.
But I recently I saw this:
It is asking for permission to gather other apps data. SO IT IS POSSIBLE?
Any suggestion is appreciated. How am I supposed to this?
There is no API by apple itself for retrieving data of third party applications. This is called "Sandboxing" where applications are restricted from changing the device settings or retrieving/changing other apps data. Hence, why iphones are secure.
What you have shown in your screenshots is to track application data for personalised ads and such. This can be achieved using the AppTrackingTransparency framework provided by apple. You can read more about the framework here.
TL;DR - You can use AppTrackingTransparency for personalisation

Use Google Map in iPhone app created through PhoneGap

I need some guidance in matter of using Google map in creating iPhone app that is i m creating through Phonegap.
I have heard that Google maps can be used without internet connection by using Google map API.
My question is how to apply that functionality?
Any help will be appreciated.
Google maps api can not be used offline due to the terms of service.
If you cache the tiles it will be a terms violation. It can be done if you purchase the enterprise edition. Check this for more information on the subject. You might have to use something else if you absolutely must have that functionality.
You should check out openlayers. That might be of help.

iOS accessing stored files in cloud storage

I have a lot of files in a cloud storage website. To access them, just in the browser, I have to login and then get to the files. I'm new to iOS and I want to know if it is possible to do this within my app, so when the user clicks on a button it goes to the website and fetches the file and brings it back. Is there a way to do this?
Thanks.
Your question is: How does iCloud work. Too broad. http://developer.apple.com
I used Amazon's S3. They now have their own official SDK for iOS, so in case you find the ASI S3, try to stay away from it because it is no longer being worked on.

Getting Started With Twitter for iOS

For quite a while now, I've been trying to find a good way to simply post updates/photos to a user's twitter account via my iOS app. I've looked at ShareKit, but I really need to be able to design my own UI. Also, I've taken a look at MGTwitterEngine, but am unsure as how to implement it. Is there a "right" way to go about posting updates to Twitter with a custom UI on iOS?
Any help would be greatly appreciated. Thanks.
Given Apple's TWTweetRequest object, calls made to the Twitter service can now be orchestrated right through iOS without the need for an external framework or engine. Just look at the Twitter developer docs and make the calls you need, specifying the correct information in a dictionary for the process to complete successfully.

Use Google Analytics for iPhone to track app usage - Apple Approval Criteria

there have been some confusion about using analytics in apps. Just to make sure I got it straight:
I want to use Google Analytics in my app to track app usage (tracking what content is being viewed basically). I'm not sending any user or device data to Google.
Firstly, I understand that Google Analytics API is completely fine to be used and doesn't violate any Apple developer agreements.
Secondly, I assume that in this case (anonymously tracking app usage - no user or device data) I am allowed to use the service without the need to say anywhere in the app that analytics is being used (so the 3.3.9. of 'iOS Developer Program License Agreement' doesn't apply here).
Can anyone confirm my assumptions or explain if they are not right?
Or better did anyone of you have your app using analytics approved even though it didn't say anywhere it is using it? ...or the opposite
I've seen plenty of forum entries on the subject none of them though clearly stating what is required by Apple and what is just recommended.
Thanks
I know you're asking about Google Analytics, but for what it's worth, I've had great success using the Flurry analytics package in my apps. It's very stable and provides a lot of great metrics. If GA doesn't work out for you, I'd say give this a try:
http://www.flurry.com/