PDA

View Full Version : Google Highlights Chrome Integration Tools for iOS Developers




MacRumors
May 7, 2013, 01:35 PM
http://images.macrumors.com/im/macrumorsthreadlogo.gif (http://www.macrumors.com/2013/05/07/google-announces-chrome-integration-tools-for-ios-developers/)


http://images.macrumors.com/article-new/2012/06/chrome.jpgFollowing yesterday's Gmail update (http://www.macrumors.com/2013/05/06/gmail-for-ios-updated-with-direct-linking-to-youtube-chrome-and-google-maps-apps/) that gave users the option to open links directly in apps like YouTube, Chrome, and Safari, Google has released (http://blog.chromium.org/2013/05/integrate-chrome-with-your-ios-app.html) a blog post detailing Chrome integration tools for iOS developers.

With the iOS Links (https://developers.google.com/chrome/mobile/docs/ios-links) functionality, developers can give users the option to open a link in Chrome rather than Safari. In addition to opening a link in Chrome, developers are also given a dedicated back button within the browser, which will return users to the original app.As an iOS app developer, when your users want to access web content, you currently have two options: create your own in-app web browser frame, or send users away from your app to a browser.

With Chrome's OpenInChromeController class with x-callback, users can open a web page in Chrome and then return to your app with just one tap.Chrome's integration tools for developers have existed for several months, but with the release of its own app that supports the opening of links in Chrome, Google is reminding developers about the available functionality.

Apple prevents third party browsers like Chrome from being set as the default iOS browsing option, which has prompted Google to create a workaround that provides a Google-centric experience on Apple's operating system.

Article Link: Google Highlights Chrome Integration Tools for iOS Developers (http://www.macrumors.com/2013/05/07/google-announces-chrome-integration-tools-for-ios-developers/)



Codyak
May 7, 2013, 01:42 PM
This type of thing was one of the reasons I jailbroke mine, the forced default browser/maps was always one of the dumbest decisions Apple ever kept in place for iOS.

phpman
May 7, 2013, 01:42 PM
Pocket already use this new feature.

bojennett
May 7, 2013, 01:51 PM
My first thought is.… why? The WebKit web browser frame is, like, butt simple (2 lines of code), and it can load web pages from an external URL… just fine (one line of code). Works perfectly. Simply bizarre why I would want to do this. The Chrome browser is not going to be faster than the WebKit plug in (slower, actually)...

needfx
May 7, 2013, 01:53 PM
ok glass, show me cheat note #45

starbird
May 7, 2013, 01:54 PM
I have tried alternate browsers. But I don't see the benefit on an iOS device. Nothing really earth moving is available in one over the other.

I'd love to hear some examples to make me want to switch, but I just don't.

I also hope that Google doesn't start forcing their apps to use their other apps. That is just as bad as not having a choice. Make it an option like the did in the just updated GMail and I am fine.

ugahairydawgs
May 7, 2013, 01:56 PM
I have tried alternate browsers. But I don't see the benefit on an iOS device. Nothing really earth moving is available in one over the other.

I'd love to hear some examples to make me want to switch, but I just don't.

I also hope that Google doesn't start forcing their apps to use their other apps. That is just as bad as not having a choice. Make it an option like the did in the just updated GMail and I am fine.

Agreed. Chrome is ok enough on a desktop and definitely my browser of choice on a Windows PC, I see no reason to move away from Safari on iOS or OS X.

angrynstupid
May 7, 2013, 01:57 PM
If they're not stealing technology and calling it their own, they're stealing our private data. What a bunch of numnuts.

kirky29
May 7, 2013, 02:00 PM
Thankfully mine is Jailbroken so Chrome and Google Maps are default! Hopefully iOS 7 will allow default apps.

I expect to be disappointed though.

ArtOfWarfare
May 7, 2013, 02:09 PM
My first thought is.… why? The WebKit web browser frame is, like, butt simple (2 lines of code), and it can load web pages from an external URL… just fine (one line of code). Works perfectly. Simply bizarre why I would want to do this. The Chrome browser is not going to be faster than the WebKit plug in (slower, actually)...

What if you want a reload button? Forward and back buttons? Tabs? History?

At some point you realize you want a browser, not just a web view. Rather than roll your own integrated browser in your app, you could just use Chrome now, and when the user presses back enough times they'll end up back in your app. Sounds neat to me.

C DM
May 7, 2013, 02:12 PM
I have tried alternate browsers. But I don't see the benefit on an iOS device. Nothing really earth moving is available in one over the other.

I'd love to hear some examples to make me want to switch, but I just don't.

I also hope that Google doesn't start forcing their apps to use their other apps. That is just as bad as not having a choice. Make it an option like the did in the just updated GMail and I am fine.Clearly they are making it all a choice in their own apps where they've added this.

CodeBreaker
May 7, 2013, 02:18 PM
Nice. I personally don't use anything other than Safari (both OS X and iOS), but this looks like it will save me some development time.

I hope, if we don't have Chrome installed, the apps don't open Chrome page in the App Store. It would be very annoying if that happens.

nizzard
May 7, 2013, 02:30 PM
I have tried alternate browsers. But I don't see the benefit on an iOS device. Nothing really earth moving is available in one over the other.

I'd love to hear some examples to make me want to switch, but I just don't.

I also hope that Google doesn't start forcing their apps to use their other apps. That is just as bad as not having a choice. Make it an option like the did in the just updated GMail and I am fine.


Well, many,many times I need to access the full desktop version of a website, which Chrome allows me to do very easily.

rmwebs
May 7, 2013, 02:34 PM
I started doing a check in my apps. If the user has Chrome installed, links open in that. Otherwise it falls back to Safari.

That way we dont have to mess around with 'integration tools' for simple links to the browser.

All you do is direct a link to googlechrome://<your link here> and it'll force it to open in chrome instead of safari.

----------

I have tried alternate browsers. But I don't see the benefit on an iOS device. Nothing really earth moving is available in one over the other.

I'd love to hear some examples to make me want to switch, but I just don't.

I also hope that Google doesn't start forcing their apps to use their other apps. That is just as bad as not having a choice. Make it an option like the did in the just updated GMail and I am fine.
Its the ecosystem. For me Chrome is miles better than Safari because I can pull up pages I have open on any other device that I use Chrome on. It syncs my bokmarks, logins, etc. In comparison Safari is obviously limited to only doing it with Safari on your mac, and if (like most people) you dont use Safari on your mac, its not very useful.

whoareyouanyway
May 7, 2013, 02:53 PM
I really dont know how Apple get away with not allowing users to change default browser. Cant see the difference with what they are doing now and what Microsoft did with IE.

Virtual Steve
May 7, 2013, 03:22 PM
If they're not stealing technology and calling it their own, they're stealing our private data.

If they're not stealing technology and calling it their own, they're stealing our private data...and calling it their own!

Fixed that for ya :D

flottenheimer
May 7, 2013, 03:24 PM
Wondering if Apple will suddenly ban this and kick the Google apps from the store?
It could happen.

bojennett
May 7, 2013, 03:37 PM
What if you want a reload button? Forward and back buttons? Tabs? History?

At some point you realize you want a browser, not just a web view. Rather than roll your own integrated browser in your app, you could just use Chrome now, and when the user presses back enough times they'll end up back in your app. Sounds neat to me.

I have developed about a dozen apps for clients. 4 of those have had web views, because they want to display some information, and a webview is a great way to do layout.

If you are running an app that needs that much browser stuff - tabs, back/forward, etc. then you aren't making a native app. You are making a web app and wrapping it in an app skin for basic buttons. And you are doing that because you don't want to write a native app.

I use over 100 apps on my phone. I have never found an app that uses a rich browser, nor have they been lacking because of it.

I'm sorry, I still don't get it.

And as somebody else pointed out, this is really a way for Google to get more information about you (or your app) by doing this. But Google supposedly isn't evil, right? Only Apple.

Razeus
May 7, 2013, 03:52 PM
Apple is getting owned on their own platform due their lack of foresight and plain stubbornness.

ArtOfWarfare
May 7, 2013, 04:04 PM
I have developed about a dozen apps for clients. 4 of those have had web views, because they want to display some information, and a webview is a great way to do layout.

If you are running an app that needs that much browser stuff - tabs, back/forward, etc. then you aren't making a native app. You are making a web app and wrapping it in an app skin for basic buttons. And you are doing that because you don't want to write a native app.

I use over 100 apps on my phone. I have never found an app that uses a rich browser, nor have they been lacking because of it.

I'm sorry, I still don't get it.

And as somebody else pointed out, this is really a way for Google to get more information about you (or your app) by doing this. But Google supposedly isn't evil, right? Only Apple.

I never do this either, but Facebook and Twitter and many other apps have built in web browsers for opening links. They use built in web browsers instead of Safari because they want users to be able to navigate back to the app quickly. Do they have the user's best intentions in mind? It's debatable. But google is offering an alternative to rolling your own web browser that allows users to still get back to your app quickly and easily.

bojennett
May 7, 2013, 04:24 PM
I never do this either, but Facebook and Twitter and many other apps have built in web browsers for opening links. They use built in web browsers instead of Safari because they want users to be able to navigate back to the app quickly. Do they have the user's best intentions in mind? It's debatable. But google is offering an alternative to rolling your own web browser that allows users to still get back to your app quickly and easily.

Why would FB do this? They never want you leaving FB. Having a button that get you back to FB from the Chrome browser isn't the same thing as keeping you in FB to begin with. And in the case of iOS FB, they put a button for "open in Safari" if you really want to leave FB.

My point is, FB didn't put a webview in because they were afraid of you going to Safari and not coming back. They put a webview in because that was a way to keep you in the walled garden. A "quick back" button from a chrome browser doesn't keep you in the walled garden, it just lets you know you left the garden.

From a tech perspective, what Google did is "neat". But Wave was neat, too. Neat != valuable.:)

Timur
May 7, 2013, 04:53 PM
I have tried alternate browsers. But I don't see the benefit on an iOS device. Nothing really earth moving is available in one over the other.

I'd love to hear some examples to make me want to switch, but I just don't.
http://www.icab.de/mobile.html

Radio
May 7, 2013, 05:13 PM
I really dont know how Apple get away with not allowing users to change default browser. Cant see the difference with what they are doing now and what Microsoft did with IE.

Agreed. Microsoft was sued for this

Hopefully iOS 7 let's users decide what they want or class action lawsuit

slu
May 7, 2013, 07:22 PM
So, it works like Android. Nice!

the8thark
May 7, 2013, 08:10 PM
As long as this stays very far away from any iOS devices I own, I'll be happy.

X38
May 7, 2013, 11:34 PM
What's the point of this? If I wanted google's snoopware on my phone, I'd get an android. I can't imagine any reason to pollute my iPhone with their spy browser.

ALange
May 8, 2013, 02:00 AM
about spying...

http://www.rawstory.com/rs/2012/09/04/anonymous-claims-hack-caught-fbi-spying-on-apple-customers/

in internet era everything and everyone is spying ;)

Timur
May 8, 2013, 02:03 AM
Agreed. Microsoft was sued for this

Hopefully iOS 7 let's users decide what they want or class action lawsuit
Not exactly. You always could change the default browser in Windows, except for some embedded browser experiences. Windows just shipped with Internet Explorer as its default, did not offer alternatives on its own (you had to look for it) and generally behaved as if Internet Explorer was the be-all-end-all browser.

Still you had a choice in theory, but most people didn't make use of it in practice. This is why they got sued.

With iOS you don't have a choice to change the default browser at all and 3rd party browsers are not even allowed to use their own engine, while being restricted to a slower version of Safari's engine. Time for someone to step in and stomp right on Apple's toe.

Jayomat
May 8, 2013, 02:07 AM
My first thought is.… why? The WebKit web browser frame is, like, butt simple (2 lines of code), and it can load web pages from an external URL… just fine (one line of code). Works perfectly. Simply bizarre why I would want to do this. The Chrome browser is not going to be faster than the WebKit plug in (slower, actually)...

Because if you use Chrome on multiple platforms your bookmarks etc. will be synced automatically. Safari for iOS has still no unified search/url bar, which is pathetic. Also, chrome has nice features in iOS, for example switching tabs by swiping left/right. Feature wise, it's just the better "browser".

dannytip
May 8, 2013, 04:05 AM
I'd like to see ALL the default app's removed from iOS. Let me choose what i install. Surely i would make things easier for apple too as they could simply roll out a safari update etc.

Terrin
May 8, 2013, 07:16 AM
I started doing a check in my apps. If the user has Chrome installed, links open in that. Otherwise it falls back to Safari.

That way we dont have to mess around with 'integration tools' for simple links to the browser.

All you do is direct a link to googlechrome://<your link here> and it'll force it to open in chrome instead of safari.

----------


Its the ecosystem. For me Chrome is miles better than Safari because I can pull up pages I have open on any other device that I use Chrome on. It syncs my bokmarks, logins, etc. In comparison Safari is obviously limited to only doing it with Safari on your mac, and if (like most people) you dont use Safari on your mac, its not very useful.

I would guess most people do use safari on their Mac.

Radio
May 8, 2013, 08:25 AM
Not exactly. You always could change the default browser in Windows, except for some embedded browser experiences. Windows just shipped with Internet Explorer as its default, did not offer alternatives on its own (you had to look for it) and generally behaved as if Internet Explorer was the be-all-end-all browser.

Still you had a choice in theory, but most people didn't make use of it in practice. This is why they got sued.

With iOS you don't have a choice to change the default browser at all and 3rd party browsers are not even allowed to use their own engine, while being restricted to a slower version of Safari's engine. Time for someone to step in and stomp right on Apple's toe.

Agreed

Someone sue

rmwebs
May 8, 2013, 08:31 AM
I would guess most people do use safari on their Mac.

I tried to find some official stats however nobody seems to be combining Browser + OS right now so theres no way of really knowing. Given Chrome's current marketshare I'm not so sure Safari is actually the most widely used OS X browser.

fivedots
May 8, 2013, 11:11 AM
I tried to find some official stats however nobody seems to be combining Browser + OS right now so theres no way of really knowing. Given Chrome's current marketshare I'm not so sure Safari is actually the most widely used OS X browser.

Good, I'm not crazy. I tried to do the same but none of the sources would allow filtering market share by OS. A shame.

bayxsonic
May 9, 2013, 03:49 AM
I would guess most people do use safari on their Mac.For what it matters: On a pop singer's website I manage (1500 visits daily) I see that 75% of OSX visits are from Safari. Honestly I didn't expect that.
It's about the same on nearly every website I see here, 60%+ of OSX users use Safari. Only a website on web development has 44% Safari, 40% Chrome