News for hackers. Stuff that matters.
Re:Apple TV – A World Without Webviews by steve19 on Monday September 14, 2015 @12:30AM (#10213639)
Kodi, the hugely popular open source media center platform/application, also lacks webviews and nobody seems to have any interest in adding them. I guess the reasons are UI related, rather than technical/crossplatform/bloat reasons.
Re:Apple TV – A World Without Webviews by lstamour on Monday September 14, 2015 @12:26AM (#10213632)
A workaround for OAuth-type flows not mentioned in the article -- or for any flow that requires going out to a web browser -- would be for Apple to cleanly establish a Handoff/Continuity mechanism from the Apple TV running tvOS to your iPhone, iPad or Mac. Which is to say -- using today's technology, an Apple TV app communicates with a server to see if you're also signed in on an iOS or Mac device with the same app installed. The remote service can then, on the request of the Apple TV, trigger a push notification on your phone, tablet or computer. You can see this happening already using OATH one-time passwords AKA two factor authentication, particularly in Facebook app's implementation, which presents a push notification on your phone when you're trying to do something on your computer.

So, that's one way they could easily overcome these limitations on the TV. See also: Existing Apple TV's approach to sign in, requiring users to use a computer or web browser to visit a page protected by OAuth and then type in a code from their TV to pass the session on to the TV. Or YouTube's even other approach of YouTube TV involving, IIRC, typing codes into your console/TV box from your YouTube website.

Re:Apple TV – A World Without Webviews by WWLink on Monday September 14, 2015 @02:52AM (#10213886)
I agree, it would be nice if there was some kind of token handoff between web browser and app - and this would be the ideal way of handling it. I really, really dislike webviews in iOS apps because they're almost always clearly a webview - but they don't usually have all the same functionality.
Re:Apple TV – A World Without Webviews by projct on Monday September 14, 2015 @06:31PM (#10217945)
OAuth2 password grant type would work also where allowed.
Re:Apple TV – A World Without Webviews by pbreit on Monday September 14, 2015 @12:04AM (#10213589)
The article basically answers the question: webviews on a TV interface would be horrific. I don't think Apple is shooting for the Wild West here. Video/audio publishers will mostly use the pre-existing templates. Netflix, et al will port their UIs. Games will get as close to the metal as possible.
Re:Apple TV – A World Without Webviews by jimmcslim on Sunday September 13, 2015 @11:48PM (#10213569)
Possibly good news for React and React Native however? The absence of Webviews is somewhat mitigated if an application's web presence is already powered by React, some similar concepts (even components themselves... to some degree) could be re-used in a React Native targeting tvOS?
Re:Apple TV – A World Without Webviews by chenglou on Monday September 14, 2015 @07:52AM (#10214640)
Re:Apple TV – A World Without Webviews by ronotono on Monday September 14, 2015 @12:02AM (#10213587)
Security can be one of the reasons as well. It would easily become a nightmare.