Go Back   MacRumors Forums > News and Article Discussion > iOS Blog Discussion

Reply
 
Thread Tools Search this Thread Display Modes
Old May 7, 2013, 02:35 PM   #1
MacRumors
macrumors bot
 
Join Date: Apr 2001
Google Highlights Chrome Integration Tools for iOS Developers




Following yesterday's Gmail update that gave users the option to open links directly in apps like YouTube, Chrome, and Safari, Google has released a blog post detailing Chrome integration tools for iOS developers.

With the 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.
Quote:
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
MacRumors is offline   1 Reply With Quote
Old May 7, 2013, 02:42 PM   #2
Codyak
macrumors 6502
 
Join Date: Apr 2012
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.
Codyak is offline   5 Reply With Quote
Old May 7, 2013, 02:42 PM   #3
phpman
macrumors newbie
 
Join Date: May 2010
Location: Germany
Send a message via ICQ to phpman
Pocket already use this new feature.
phpman is offline   0 Reply With Quote
Old May 7, 2013, 02:51 PM   #4
bojennett
macrumors newbie
 
Join Date: May 2010
Why?

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)...
bojennett is offline   1 Reply With Quote
Old May 7, 2013, 02:53 PM   #5
needfx
macrumors 68030
 
needfx's Avatar
 
Join Date: Aug 2010
Location: macrumors apparently
ok glass, show me cheat note #45
needfx is offline   0 Reply With Quote
Old May 7, 2013, 02:54 PM   #6
starbird
macrumors 6502
 
Join Date: Mar 2010
Might be just me, but...

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.
__________________
 13" MacBook Pro with Retina display 
 Verizon iPhone 6 Space Grey (64GB)  iPad (32GB Black WiFi 3rd gen)  3rd gen TV 
starbird is offline   1 Reply With Quote
Old May 7, 2013, 02:56 PM   #7
ugahairydawgs
macrumors 68020
 
ugahairydawgs's Avatar
 
Join Date: Jun 2010
Quote:
Originally Posted by starbird View Post
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.
ugahairydawgs is offline   1 Reply With Quote
Old May 7, 2013, 02:57 PM   #8
angrynstupid
macrumors regular
 
Join Date: Jan 2010
Location: Michigan
Google Sucks

If they're not stealing technology and calling it their own, they're stealing our private data. What a bunch of numnuts.
angrynstupid is offline   1 Reply With Quote
Old May 7, 2013, 03:00 PM   #9
kirky29
macrumors 65816
 
kirky29's Avatar
 
Join Date: Jun 2009
Location: Lincolnshire, England
Send a message via Yahoo to kirky29 Send a message via Skype™ to kirky29
Thankfully mine is Jailbroken so Chrome and Google Maps are default! Hopefully iOS 7 will allow default apps.

I expect to be disappointed though.
__________________
27" iMac, 15" MacBook Pro 2.2GHz i7 2011, iPhone 5 16GB - iPad 1/2/3/Mini - 24" Cinema Display,
Apple Magic Mouse, Trackpad, Time Machine, Apple TV,
| Check out my flickr |
kirky29 is offline   1 Reply With Quote
Old May 7, 2013, 03:09 PM   #10
ArtOfWarfare
macrumors 603
 
ArtOfWarfare's Avatar
 
Join Date: Nov 2007
Send a message via Skype™ to ArtOfWarfare
Quote:
Originally Posted by bojennett View Post
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.
ArtOfWarfare is offline   3 Reply With Quote
Old May 7, 2013, 03:12 PM   #11
C DM
macrumors G5
 
Join Date: Oct 2011
Quote:
Originally Posted by starbird View Post
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.
C DM is offline   0 Reply With Quote
Old May 7, 2013, 03:18 PM   #12
CodeBreaker
macrumors 6502
 
Join Date: Nov 2010
Location: Sea of Tranquility
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.
__________________
.
CodeBreaker is offline   1 Reply With Quote
Old May 7, 2013, 03:30 PM   #13
nizzard
macrumors newbie
 
Join Date: Oct 2011
Quote:
Originally Posted by starbird View Post
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.
nizzard is offline   1 Reply With Quote
Old May 7, 2013, 03:34 PM   #14
rmwebs
Banned
 
Join Date: Apr 2007
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.

----------

Quote:
Originally Posted by starbird View Post
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.
rmwebs is offline   1 Reply With Quote
Old May 7, 2013, 03:53 PM   #15
whoareyouanyway
macrumors newbie
 
Join Date: Feb 2012
Location: Dublin, Ireland
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.
whoareyouanyway is offline   8 Reply With Quote
Old May 7, 2013, 04:22 PM   #16
Virtual Steve
macrumors member
 
Join Date: Jan 2012
Quote:
Originally Posted by angrynstupid View Post
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
Virtual Steve is offline   0 Reply With Quote
Old May 7, 2013, 04:24 PM   #17
flottenheimer
macrumors 65816
 
flottenheimer's Avatar
 
Join Date: Jan 2008
Location: Up north
Wondering if Apple will suddenly ban this and kick the Google apps from the store?
It could happen.
__________________
A computer is like a bicycle for the mind.
— Steve Jobs
flottenheimer is offline   0 Reply With Quote
Old May 7, 2013, 04:37 PM   #18
bojennett
macrumors newbie
 
Join Date: May 2010
Quote:
Originally Posted by ArtOfWarfare View Post
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.
bojennett is offline   0 Reply With Quote
Old May 7, 2013, 04:52 PM   #19
Razeus
macrumors 68040
 
Join Date: Jul 2008
Apple is getting owned on their own platform due their lack of foresight and plain stubbornness.
Razeus is offline   2 Reply With Quote
Old May 7, 2013, 05:04 PM   #20
ArtOfWarfare
macrumors 603
 
ArtOfWarfare's Avatar
 
Join Date: Nov 2007
Send a message via Skype™ to ArtOfWarfare
Quote:
Originally Posted by bojennett View Post
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.
ArtOfWarfare is offline   1 Reply With Quote
Old May 7, 2013, 05:24 PM   #21
bojennett
macrumors newbie
 
Join Date: May 2010
Quote:
Originally Posted by ArtOfWarfare View Post
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.
bojennett is offline   0 Reply With Quote
Old May 7, 2013, 05:53 PM   #22
Timur
macrumors 6502a
 
Join Date: Oct 2008
Quote:
Originally Posted by starbird View Post
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
__________________
We're all mad in here...
Timur is offline   0 Reply With Quote
Old May 7, 2013, 06:13 PM   #23
Radio
Banned
 
Join Date: Mar 2012
Location: Central California
Quote:
Originally Posted by whoareyouanyway View Post
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
Radio is offline   1 Reply With Quote
Old May 7, 2013, 08:22 PM   #24
slu
macrumors 68000
 
slu's Avatar
 
Join Date: Sep 2004
Location: Buffalo
So, it works like Android. Nice!
slu is offline   0 Reply With Quote
Old May 7, 2013, 09:10 PM   #25
the8thark
macrumors 68040
 
the8thark's Avatar
 
Join Date: Apr 2011
As long as this stays very far away from any iOS devices I own, I'll be happy.
__________________
Congress shall make no law . . . prohibiting the free exercise thereof; or abridging the freedom of speech, or of the press.
the8thark is offline   0 Reply With Quote

Reply
MacRumors Forums > News and Article Discussion > iOS Blog Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
iOS RSS App with Chrome Desktop Integration swwack91 iPhone and iPod touch Apps 0 May 23, 2013 02:29 PM
Google Maps for iOS Receives First Update Since Launch with Google Contacts Integration, Local Business Search MacRumors MacRumors.com News Discussion 91 Mar 6, 2013 01:39 PM
Tools for developing IOS apps - Impact on native IOS developers spilakalb iPhone/iPad Programming 9 Oct 19, 2012 11:55 PM
Google's Work Toward Standalone iOS Maps App Complicated by Integration with Google Earth MacRumors MacRumors.com News Discussion 179 Sep 28, 2012 10:09 AM

Forum Jump

All times are GMT -5. The time now is 02:38 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC