Integrating Google Drive with iOS - ios

I'm working on app in which I need to integrate with Google Drive for my iOS App.
So I started following Quick Start. Every thing worked perfectly fine and successfully able to get list of my file with the use of query in GTLQueryDrive class. But problem is that I am getting every thing for using query so for this there is no User Interface for Google Drive (like they can show all files with logos and we can get those file and some delegate may trigger as I also noticed in android integrated project). So
Is this possible that I Google drive give some default interface for listing files with actions available, instead of just using queries.
If possible then how can Integrate or some helping tutorial link.
Looking for help. Thanks.

Is this possible that I Google drive give some default interface for listing files with actions available, instead of just using queries?
It seems what you're looking for is the Google Picker.
It's is a "File Open" dialog for the information stored in Google
servers. With Google Picker, your users can access and upload photos,
videos, maps, and documents stored in Google servers. The selection is
passed back to your web page or web application for further use. You
can read more of that in the
docs.
I have to mention though that the example used is written in Javascript.
If possible then how can Integrate or some helping tutorial link.
Try this iOS Picker demo app from Github.
For additional info about implementing Picker, watch this video from Google.

Related

Create a link to subscribe to my shared calendar?

Hello here is my problem.
I have a scrapping app that generates an ICS file to have a hosted calendar that is automatically updated for me.
So my users all have a specific link that hosts their ics file.
To do this, they must manually enter the links in their calendar app.
I would like that by clicking on the links their app automatically offers them to subscribe to this calendar.
I would like to find a solution that would work on android, iphone and pc.
If you have any ideas it would help me a lot.
I thought of potocol webcal but obviously it would not be managed by google ect

Is there any SDK like google drive which can be integrated within the app without logging into Google drive?

I was creating an app (iOS App) that has almost all the similar functionality to google drive. Below are the features.
Uploading of documents
Sorting the documents by (A-Z) or (Z-A)
Creating a folder and uploading the documents in the same
Sharing the uploaded documents with other users
Sharing the uploaded documents to guest users like temporary access for 30 to 60 mins
Concurrently editing the documents and multiple users and showing the cursor which user is editing what line.
I want these above features within the application means I don't want to open any other dependent app. So I have gone through the google-SDK iOS app but the problem with that is to use any of the above features I need to sign in via google then only will be able to use that so it's kind of opening google drives within the app.
I need help Are there SDK or cloud providers who provide the above-desired features and can act as cloud services.
Like a user, signup uploads the document and can share, and edit along with other users. No need to sign in to other third-party accounts.
Thanks in advance!

How to work with Firebase App Indexing for IOS Apps

i am in the process of making my app with firebase i am pretty much done with that except Firebase App Indexing. I am very exited with this feature because it could help me to increase my app get more traffic from the web but the problem is i really can't able to see how to implement this. According to Firebase Docs i just need to register my app with this pice of code
[[FIRAppIndexing sharedInstance] registerApp:your Apple ID from iTunes Connect];
I have done that but what should i do after that?
1.My app is firebase app that means i don't have any website to host my content except firebase realtime database. Does my content is available for crawlers? if not how can i make available to them?
2.If i can able to show my content in the google search results i don't wanna show all the content and i wanna show just some of my content for example i have a social app for sharing General Knowledge questions, i wanna show just the question like "What is the highest mountain" in the search results and if the user want to see the answer it should take them to my app how can i do that?
3.As per docs i came to know that i need to create univiersal links for my app content to direct users from google search but how shold i do that ? Lets say should i crate universal links when the user create question?? if so how can i do that ??
Thank you very much for the help.
This is not currently possible on iOS using Firebase App Indexing. The situation is slightly different on Android, but that is not applicable to your question.
On iOS, Firebase App Indexing is simply highlighting pages on your website in Google search results that have corresponding content inside your app. This is achieved by piggybacking on Apple's Universal Links standard, and there is no proactive 'crawling' going on inside your app. This means unless you have a corresponding web page for your app with 1:1 content parity, you can't really benefit from Firebase App Indexing on iOS as it comes out-of-the-box.
The best workaround is to generate little 'placeholder pages' for every piece of content in your app, which the sole purpose of opening your app (if it is installed) or redirecting to the App Store (if it is not installed). Ideally you'll need some sort of deferred deep linking system so that users still see the correct content after downloading. Fun fact: this is essentially how HotelTonight operates their entire business model. Unfortunately Firebase's implementation is not mature enough to support this full flow, and Google hasn't quite figured out how to rank app-only content properly yet in search results so you will probably need to pro-actively submit your placeholder pages to them.
Shameless plug: at Branch, we provide all of the above as a free service. You can read more about it here and take a look at the set up docs here.

Using Firebase Analytics and Google Analytics together - iOS

I am trying to add Firebase Analytics (FA) and Google Analytics (GA) together in my iOS app. We can achieve that using Google Tag Manager.
I followed this tutorial https://developers.google.com/tag-manager/ios/v5/#introduction
I setup Google Tag Manager Triggers and Tags correctly. I have chosen "GoogleAnalytics" as the product which is asking when setting the Tag in Google Tag Manager. I assume that, when I fire events using fire base analytics, the same events should appear in google analytics too. It doesn't seem to be working for me. I do see FA dashboard being updated but nothing is showing up in GA.
[FIRAnalytics logEventWithName:#"BtnPressed" parameters:nil];
Any help is greatly appreciated!
A few things to check: Did you set up the appropriate triggers for the event? Did you publish your Google Tag Manager container? Is the container file included in a container folder (not a group), and included in the binary?
Another thing to keep in mind is that it can take some time for Google Analytics events to show up. One way of checking your configuration is to run in the simulator, which will cause Google Tag Manager to log verbosely. If everything is configured correctly, you'll see log messages from Google Tag Manager when you log an event. If there's a configuration problem, you should see log messages indicating an issue.

Is Google App Indexing SDK required in iOS for Google DeepLinking?

I want to use Google App Indexing with my web pages and iOS app.
I do support Universal Links (or deep links in Google lingo) with Apples Search and have my web pages set up accordingly.
From Googles documentation I am unable to find out if I really need to add the Google App Indexing SDK. The SDK does not give me any required functionality and I would prefer to skip it - but does Google rely on the SDK to be able to do the magic?
I am not doing any indexing of in app content, the only thing I want to be indexed is the web pages, and get the according deep links.
To enable App Indexing in your iOS App, adding the Google App Indexing SDK is mandatory as the documentation suggests.
This way it will be possible for your App content to be searchable by users conducting Google queries, producing results that will lead the users to open or install your App.
Concerning the SDK, it will influence ranking, whether or not the user has your App installed. This means that if your App is indexed, Google will use the content within your App as a signal in ranking and not just your web content.
Users will also see an enhanced UI with your App icon on the search results page.
Hope this helps.
You are right, getting Google search results to deep-link into your app is achievable using only Universal Links and having your web content naturally feature in Google search results.
The Google documentation isn't great, but there are two major reasons you'd want to integrate the Google App Indexing SDK:
The first, as the documentation does say, is so that Google ranks your 'app content' higher in Google search results than if you didn't integrate the SDK. My guess is that 'app content' here is defined as your web content with app related meta data, such as the <link rel=alternate> tag specified in the documentation. I've yet to find any way to validate/verify to what degree this helps - we have to trust the documentation for now.
The second is that currently, your deep-linking will only work from Safari Mobile. To facilitate deep-linking from Google search results into your app in Chrome for iOS will require implementation of Google's SDK, which will also provision a "back to Google" button in your app. To see whether this is worth doing you'd have to check your analytics to see how many of your iOS users are using Chrome instead of Safari Mobile as their main browser on iPhone.
Source for second reason: https://www.youtube.com/watch?v=6NFRNamQGCc&feature=youtu.be&t=268

Resources