173 points · by cpncrunch · 10y ago · 104 comments
Also, note the date of the posting. 4 months ago and still there...
Of course I would love it because as a developer this is the dream but I am very skeptical that Apple will do it.
Which is pretty much what Apple has been pushing since before there was an appstore? To this day it takes just 2 taps (share > add to home screen) to add a webapp to the phone as a "standard application" (with a homescreen icon and everything)
There's plenty of serious crap[0] in the apple web ecosystem, but it doesn't really seem related to "webapps as appstore replacement"[1][2][3].
[0] http://www.raymondcamden.com/2014/09/25/IndexedDB-on-iOS-8-B...
[1] http://caniuse.com/#search=websql
This conspiracy thinking has been played again and again.
Few users cares for logging into some website from mobile Safari just to get a subpar experience over a native app (or a hybrid app), and that's not because Safari presents any kind of worse web experience than the desktop.
In fact Safari has often been the best mobile browser, but it still doesn't compete with the AppStore that much, as the most important things -- more than half a billion of credit cards on store, easy monetization, in-app purchases and full access to native APIs are missing from the web-app story.
I can see how a single engineer's time is necessary for this project, as I've already sunk over a week of work into my own integration, and I've only gotten the peering to work so far (audio is just about there).
Supposedly many years ago, there used to be an example inside the code base of what I am currently trying to pull off, but nevermore.
It is quite challenging to just integrate WebRTC -- one does not simply integrate WebRTC.
Good luck with that part.
<rant mode="on">
I have been using C++ for hobby coding between Android and WP, and the "friendliness" of the NDK has made be look for solutions that can target Java and .NET instead.
Some of those APIs that one needs JNI wrappers, are actually written in C++, just not exposed to the NDK.
</rant>
http://developer.android.com/training/articles/perf-jni.html...
Because I'm sure everybody on here cares haha.
And it's amazing how rapidly they are able to invent a whole new programming language, compiler, toolchain, overhaul the OS APIs, add new OS features, and innovate Apple-only "native" technologies on Macs, iPhones, iPads, and even watches, while porting some features from open-source browsers into Safari is so darned "challenging". (I'll bet Apple could get some help from organizations with more resources like, say, Mozilla or Opera, if they just asked.)
I might suspect that they were intentionally impeding the progress of the Web, sabotaging all of us while putting on a great show, if it weren't for the fact that they allow other browsers, such as Chrome, on the iPhone. No, if they wanted to slow the progress of the Web platform, they would slow the development of their own browser as much as they dared and simultaneously cut off all detours around it except the one that goes through their own native apps.
But no, they aren't doing anything like that, because there's Chrome right there in the App Store. As long as it's not some sort of trick, some sort of imposter, there's no reason for suspicion....
As it has been said many times - they sell "experience", not merely products. Now, in today's tech market this is up for debate and fairly so, but people (the people who exclusively buy Apple products; in most cases because thsoe are Apple products) do believe they are buying that so called experience and what that experience lacks they explain to themselves as features.
I know that Safari does not support everything say Chrome does, but if you do not need those features, what does it matter? An example: I use Safari without having flash installed. I rarely need flash. If I do need it, I would rather open Chrome and close it when I am done with the flash thing and go back to Safari. Why? Why not use Chrome all the time since it supports (almost) everything Safari does and more? Well, because in my opinion, for what I use a browser for 99% of the time, Safari works better. I think it looks, performs, functions and feels better overall. So I would rather use Safari and switch to Chrome when I need something Safari does not do, or Chrome does better, even though on the paper spec, Chrome is the better browser.
It is the same reason I use an iPhone even though Android "has the same and more features".
Oh, Apple will be Apple if they'll not enable Opus in audio tags. So classy.
edit: also https://github.com/rtcweb-wg/
Update:
It looks like Google Chrome (desktop) team has published a plugin that alleviates the problem but can cause performance degradations with apps that use WebRTC. They seem to suggest that a decent fix won't be possible until UDP proxies are in wide use and Chrome adds support for that.
https://groups.google.com/forum/#!topic/discuss-webrtc/_5hL0...
This implements the behavior proposed to the IETF https://tools.ietf.org/html/draft-shieh-rtcweb-ip-handling-0...
The site owner? Well, the site owner now has your IP!
Yes, even if the user is behind a VPN, WebRTC will expose their ISP-given public IP. Luckily Firefox allows WebRTC to be disabled. Recently they added a new setting that alleviates that leak for the majority of VPN users, while allowing WebRTC to still be enabled. Would be awesome if Chrome allowed WebRTC to be disabled as well.
The new Chrome behavior should alleviate the need to disable. Basically, the behavior that caused the concern has been changed significantly.
(Right now Tor Browser keeps it click to activate, IIRC)
I have to agree... the local IP address really shouldn't be considered a secret, it's also needed for LAN negotiation attempts between localized peers.
The page you've linked says no...
https://groups.google.com/forum/#!topic/discuss-webrtc/_5hL0...
Chrome has had this forever.
Service workers seems like an incredibly dangerous feature to have in a web browser. If developers need geofencing notifications or assets caching for example then implement a tightly focused API. But to allow any developer (including rogue ones) to slow the browser and computer down will be a nightmare for inexperienced and experienced users alike.
ggwp