News for hackers. Stuff that matters.
Re:Microsoft and Google collaborate to make PWAs better by Abishek_Muthian on Friday July 10, 2020 @01:24PM (#23793926)
Nice, I like the way Microsoft chose to ignore the bad blood with Google regarding its apps for Windows Phone and has embraced Android.

PWA collaboration seems to be a step in the right direction, especially since Edge is using chromium and Microsoft seems to be building great PWA apps[1].

Although I'm not entirely sure about Google's end game with PWA[2], I hope these kind of collaboration motivates industries to build more PWA apps and put pressure on Apple to properly support PWA APIs in Safari; then may be, just may be one day we'll have fair grounds for new mobile operating systems to compete without this Playstore/Appstore duopoly.

[1]https://www.bing.com/covid/

[2]https://news.ycombinator.com/item?id=23574697

Re:Microsoft and Google collaborate to make PWAs better by osrec on Friday July 10, 2020 @02:34PM (#23794735)
I agree. Apple is stifling innovation by not supporting certain APIs.

They need to stop doing this, or they will hurt themselves in the long run. As it is, most people use Safari on iOS because they are forced to - all other browsers on iOS are forced to use WKWebView, which basically means they are wrappers around Safari's view.

To this day, I can't understand why their users stand for this. In this regard, Apple reminds me of a cult leader brainwashing their followers into believing the cult's way is the best way. Makes me a little sick actually.

Re:Microsoft and Google collaborate to make PWAs better by millstone on Friday July 10, 2020 @09:40PM (#23798667)
Apple is making the right decision here.

My iOS device has never once shown me "this website requires Chrome." I get to use the mobile web without needing Google. And Apple is the only reason why.

Maybe some day, web apps will become so undeniably awesome that Safari's position is untenable. But the agitation is not coming from iOS users missing out on awesome PWAs. Instead it's web developers, who are just annoyed that they have to actually respect the conventions of the platform they're building for.

Re:Microsoft and Google collaborate to make PWAs better by spideymans on Saturday July 11, 2020 @01:18AM (#23799725)
I couldn’t agree more. As a developer, PWAs are amazing. Write once, run more or less everywhere. Our enterprise software deployments wouldn’t have been possible if we had to target iOS, Android and Windows specifically.

As an end user, I dread the days PWAs ever go mainstream. They’re horribly inefficient from a power and performance point of view, and never have I come across a PWA with a user experience half as good as native apps (especially on mobile). Until they’re indistinguishable from native apps in terms of user experience, I want nothing to do with them. Beyond that, there’s some very serious privacy concerns as well with PWAs, especially with developers abusing APIs for fingerprinting

Re:Microsoft and Google collaborate to make PWAs better by arcturus17 on Saturday July 11, 2020 @03:43AM (#23800350)
I also build PWAs for enterprise and I have to disagree on performance and UX. My users love them.

Many didn’t understand what a web app was until recently and now they want nothing else. For starters the speed and ease of deployment can also impact the user experience; people love seeing problems fixed and tweaks made on the fly in reaction to their feedback.

But more than anything they’re thoroughly impressed with the interfaces compared to other shitty desktop enterprise software they use. At the end of the day it’s the same story as with all software: quality often depends more on craftmanship than on the flavor of tool that you’re using. PWAs offer enough means to build beautiful and performant software, with full offline capabilities that can make them nearly indistinguishable from a native app.

I can’t disagree that native apps have advantages in some use cases. For the most part I wouldn’t build something like a graphics editing program as a web app - companies like Figma challenge this, but they’re using techniques at the edge of web dev that go beyond PWA capabilities (eg, WebAssembly), and unless you have an all-encompassing product strategy like they do you’d probably be better off building something like that native.

For many CRUD app use cases however PWAs can be more than sufficient. I’m very bullish about their future, and I wouldn’t be if I hadn’t seen real, happy users, because that's what matters to me the most.

Re:Microsoft and Google collaborate to make PWAs better by the_gipsy on Saturday July 11, 2020 @03:27AM (#23800289)
> Beyond that, there’s some very serious privacy concerns as well with PWAs, especially with developers abusing APIs for fingerprinting

If TikTok was a PWA it couldn't have done a fraction of the tracking it was doing. The irony is that apple is forcing you to use a much more privacy-invasive alternative to PWAs.

Re:Microsoft and Google collaborate to make PWAs better by soraminazuki on Saturday July 11, 2020 @06:21AM (#23800955)
> If TikTok was a PWA it couldn't have done a fraction of the tracking it was doing.

This is misleading when the motives of PWA is to make the web browser acquire as much capabilities as a native app. If browsers keep on expanding access to the underlying platform without any regards of the consequences, TikTok would be able to track you more without you ever having to install anything. This would kill the web as we know it because you’ll have to give websites the same trust you give to software when you install them on your computer. We won’t be able to browse the web freely as we do now.

Re:Microsoft and Google collaborate to make PWAs better by osrec on Sunday July 12, 2020 @09:39AM (#23811204)
Misleading how? You have one platform that already allows crazy privacy violations natively, and you have another platform that you suspect might some day allow similar levels of privacy violation, yet you champion the privacy stance of the first platform.

Makes no sense to me.

Re:Microsoft and Google collaborate to make PWAs better by soraminazuki on Sunday July 12, 2020 @11:49AM (#23812200)
> Misleading how?

I pretty much explained everything after the first three words of my comment.

> You have one platform that already allows crazy privacy violations natively,

Give me a single example of an OS for a personal computing device where you don't have to trust what you install.

> and you have another platform that you suspect might some day allow similar levels of privacy violation

No, this isn't speculation, this is the inevitable future of going the PWA route. If browsers expand access to a platform that, as you put it, "allows crazy privacy violations," then it's bound to allow similar levels of privacy violations, plain and simple.

One of the best things about the browser runtime is that it has (or perhaps, had) pretty good isolation from the host platform [1]. This is great for browsing because you can click on a link without thinking twice about it. When that isolation is rendered meaningless, you really have to stop and think about whether you trust the website you're going to visit, just like you would when you install native apps on your device. So get ready to kiss bye-bye to visiting a random blog you saw on HN.

> yet you champion the privacy stance of the first platform

You've made that one up. I explicitly mentioned that you have to trust the apps that you install.

Please note that I'm not hating on PWAs for the sake of it. I just don't want to sacrifice the privilege of being able to browse the web freely because of it.

[1]: I know, there are bugs in the implementation, but they're relatively costly to exploit in a meaningful way, especially at scale

Re:Microsoft and Google collaborate to make PWAs better by the_gipsy on Monday July 13, 2020 @04:52AM (#23818630)
> pretty good isolation from the host platform

Define "pretty good". Compare the permission model of the browser against the appstores. Think about what their manual review process actually is for 99% of the submissions.

> When that isolation is rendered meaningless

PWSs don't and won't do that. That's your whole argument and it's misleading.

Re:Microsoft and Google collaborate to make PWAs better by soraminazuki on Monday July 13, 2020 @08:13AM (#23819891)
> Define "pretty good".

It's a well-known fact. Actually, I'm pretty sure you're aware of this, considering this statement of yours:

> If TikTok was a PWA it couldn't have done a fraction of the tracking it was doing.

As for this:

> Compare the permission model of the browser against the appstores.

What are you even talking about? It has nothing to do with browser isolation.

> PWSs don't and won't do that. That's your whole argument and it's misleading.

That's an interesting assertion but you haven't left me any clue why you think so.

I also notice that you chose to quote a conditional sentence out of my argument, claiming that it was my "whole argument," but I'd also like to add that I did explain the hows and whys that lead it.

Re:Microsoft and Google collaborate to make PWAs better by the_gipsy on Monday July 13, 2020 @09:34AM (#23820546)
sorry, I misquoted the first quote, I mixed up contexts.

> the motives of PWA is to make the web browser acquire as much capabilities as a native app

This is misleading. To get to the point, your argument is that PWAs strive to be just like apps, but run in the browser instead of the OS. This is simply not true.

If you want back the web of old times, just documents and links, then you can pick up any one of such initiatives. Reality however is that PWAs are a successful model: just go to a URL and use it. It runs on a protocol, not some proprietary platform, which gives users enough control (e.g. tracking), while being useful.

Re:Microsoft and Google collaborate to make PWAs better by soraminazuki on Monday July 13, 2020 @10:55AM (#23821408)
> To get to the point, your argument is that PWAs strive to be just like apps, but run in the browser instead of the OS. This is simply not true.

I'm confused, because it's supposed to be PWA's major selling point. Google says as much in their documentation [1], as do many commenters in this thread.

> If you want back the web of old times, just documents and links, then you can pick up any one of such initiatives. Reality however is that PWAs are a successful model: just go to a URL and use it.

Don't get me wrong, I don't hate web apps in general. On the contrary, I happily use them on a daily basis. However, I don't like the direction PWA seems to be heading. Acquiring more "native" capabilities is one thing, though I won't be going over this again. Another important point is that it doesn't fit quite well with the "browsing" aspect of browsers. Web apps are nice, but they're hardly the only kinds of websites I visit. I visit quite a lot of random websites every day, many from HN, and I want almost none of these websites spinning up Service Workers or asking me to turn on push notifications. Web apps being more capable is nice, but I don't want them at the cost of a more spammy browsing experience.

I do want the web to be more capable, but careful design and consideration is equally as important when it comes to making the web a better place. I feel that many accusing some browsers of "holding the web back" are overlooking this point.

[1]: https://web.dev/what-are-pwas/

Re:Microsoft and Google collaborate to make PWAs better by the_gipsy on Tuesday July 14, 2020 @05:09AM (#23829904)
You are right, PWAs (as far as their main driver states) want to be as capable as native apps. However, there is a huge distinction in that native apps start from a baseline of (almost) full system access, and PWAs must ask for permissions for anything but trivial capabilities. Permission interactions can be fine tuned on a case by case basis. If they are too spammy, they can be set to require a user event, a button in the address bar, etc. It has worked perfectly fine for android in the case of push notifications. I don't use it much, but for some webapps I do appreciate it a lot. For example twitter, I like to get a notification of some interactions, and some games notify me of scheduled events or when it's my turn.

Re: "holding the web back" 1. Not having push notifications on iOS _is_ sadly a dealbreaker when chosing between creating a native app and a webapp. 2. Android has had this feature for over a decade I think, and it works fine. 3. Apple gets a huge revenue cut from all native iOS apps, and has a general "platform image" it defends.

So there _is_ a huge contradiction, in that apple does obviously hold some key feature back, in the name of privacy, pushing users to use their preferred much more invasive platform.

Re:Microsoft and Google collaborate to make PWAs better by solarkraft on Saturday July 11, 2020 @10:14AM (#23802358)
> Beyond that, there’s some very serious privacy concerns as well with PWAs, especially with developers abusing APIs for fingerprinting

Do you think native platform APIs are more restrictive?

Re:Microsoft and Google collaborate to make PWAs better by ex3ndr on Saturday July 11, 2020 @01:58AM (#23799922)
What's the problem with enterprise deployments?
Re:Microsoft and Google collaborate to make PWAs better by cwills on Saturday July 11, 2020 @04:50AM (#23800593)
>My iOS device has never once shown me "this website requires Chrome." I get to use the mobile web without needing Google. And Apple is the only reason why.

Let's be real though, Apple didn't enforce this to save user's the small annoyance of 'use browser X' popups. Instead it gives them full control over what web APIs are available on iOS devices, so they can avoid implementing those APIs that would impact on their App Store revenue. They have a clear financial benefit in not supporting the PWA technology that would move the 'simpler' apps off their app store and into web - where they wouldn't receive their developer license fees, a cut of paid apps and a cut of paid subscription fees (outrageous). Also, I believe it was Steve Jobs who first shared the vision of web applications on iPhone “that look exactly and behave exactly like native apps” ?

> Instead it's web developers, who are just annoyed that they have to actually respect the conventions of the platform they're building for.

Developers already get around this to some extent with cross platform tools such as React Native, Xamarin, Flutter. Native apps will always have a place, PWAs are not going to replace sufficiently complex app experiences, much like on Android or Windows.

Re:Microsoft and Google collaborate to make PWAs better by osrec on Saturday July 11, 2020 @02:27AM (#23800045)
Not many websites explicitly require Chrome. I don't know what you mean by 'My iOS device has never once shown me "this website requires Chrome."'

Why would your iOS device ever need to show such a message, unless it's implemented by the website itself? I don't understand the scenario you're describing at all.

Re:Microsoft and Google collaborate to make PWAs better by Jonnax on Saturday July 11, 2020 @03:14AM (#23800239)
You missed their point.

Apple only allows the Safari browser engine to run on their phone.

So Google (and other web developers) can't do what they do on other platforms which is only test their website on Chrome or block users of other browsers.

For example, Firefox on Android gets a crap Google search from like 2005 unless you spoof your user agent and it works perfectly.

By that mandate has kept complete control over the browser space from Google.

Re:Microsoft and Google collaborate to make PWAs better by osrec on Saturday July 11, 2020 @03:26AM (#23800283)
I've very rarely seen a website block a user because of their browser in the last 10 years.

If a website doesn't work in Safari, it just doesn't work. That's it. I do know that devs have to work A LOT harder to get things to work in Safari when compared to Chrome or Firefox. It's like Safari is the new Internet explorer.

Re:Microsoft and Google collaborate to make PWAs better by Doctor_Fegg on Saturday July 11, 2020 @04:12AM (#23800466)
I last had it two days ago. Zencaster: requires Firefox or Chrome, won’t work with Safari.
Re:Microsoft and Google collaborate to make PWAs better by nikitaga on Saturday July 11, 2020 @03:31AM (#23800305)
> respect the conventions of the platform they're building for

Do you mean UI conventions, or the "30% revenue cut and a gag order on even mentioning non-appstore signups" convention?

Justifying blatant anticompetitive and user-hostile practices by native UI holyness is getting kinda old.

Re:Microsoft and Google collaborate to make PWAs better by soraminazuki on Saturday July 11, 2020 @07:03AM (#23801174)
This is a false dichotomy. People can dislike PWAs and be critical of AppStore practices at the same time.
Re:Microsoft and Google collaborate to make PWAs better by nikitaga on Saturday July 11, 2020 @08:41PM (#23807587)
People "can" do that but that's not what either the commenter or Apple is doing.

And it's a package deal anyway. As long as PWAs do not provide viable competition to App Store on iOS, you can criticize App Store till you're blue in the face and nothing will change. So if you choose to force native UI holyness on others, at least take the responsibility for what else this brings as well.

Re:Microsoft and Google collaborate to make PWAs better by soraminazuki on Sunday July 12, 2020 @02:23AM (#23809312)
> People "can" do that but that's not what either the commenter or Apple is doing.

It’s not even remotely fair to pretend that HN commenters and Apple share the exact same interests. It’s not anyone besides Apple’s fault that they are doing what they’re doing in the AppStore.

> So if you choose to force native UI holyness on others, at least take the responsibility for what else this brings as well.

Again, what responsibility? The idea that anyone who dislikes PWA has to take “responsibility” for Apple’s actions is plain ridiculous to begin with.

Another thing I’d like to mention is that there are also reasons for disliking PWAs other than worshipping “UI holiness.” Honestly, I don’t care as much for that.

The main issue I have with the pro-PWA agenda is that it’s pushing for browsers to expand access to their underlying platforms. If browsers keep on doing this, we’d have to give websites the same trust we give to apps when we install them on our devices. This would mean the end of browsing as we know it because we’d have to think twice before choosing to click on a link.

Re:Microsoft and Google collaborate to make PWAs better by nikitaga on Monday July 13, 2020 @03:03AM (#23817840)
There's a difference between merely "disliking" something as a personal preference and insisting that other people should not have the things you dislike.

Neither the commenter I responded to nor Apple are simply "disliking" PWAs. Apple is not allowing PWAs to bolster their monopolistic moat, and the commenter is supporting Apple's decision to not allow _other people_ to build & use PWAs on iOS, seemingly just because they personally prefer native UX. Both of those are far beyond just "disliking".

This might seem like mere semantics about what "disliking" is, but while simply having personal preferences is fine, taking _actions_ that affect _other people_ or publicly expressing support for such actions necessarily comes with some moral responsibility for those actions I think. Perhaps some puny PWAs and their market effects aren't important enough for people to consider that, but the principle is all the same I would think.

Re:Microsoft and Google collaborate to make PWAs better by soraminazuki on Monday July 13, 2020 @07:15AM (#23819496)
> This might seem like mere semantics about what "disliking" is

Yes it is. Because you have cherry-picked a single word out of my whole argument to make your point. I dedicated an entire paragraph describing the undesired consequences of going the PWA route and you refused to acknowledge it, claiming it's only the "UX" people are taking issues with.

Re:Microsoft and Google collaborate to make PWAs better by nikitaga on Monday July 13, 2020 @04:37PM (#23825306)
My original comment was in response to a particular commenter who did in fact imply that UI conventions were the reason. I even asked a question to clarify if that was the case. Snarky it was, but still a question. You have your own reason to not want PWAs, that's fine. Your reason is not the reason I'm protesting.

Not including your reason in my question does not make it a false dichotomy. I never stated that UI conventions were the _only_ reason to dislike PWAs, it was simply the only reason the commenter implied.

If _you_ think promoting walled gardens and Apple's monopolistic power is less of a problem than expanding browsers' scope of functionality, I disagree, but that's not what I came here to argue about, that doesn't have anything to do with my original comment that you have an issue with.

Re:Microsoft and Google collaborate to make PWAs better by Abishek_Muthian on Friday July 10, 2020 @11:02PM (#23799103)
>My iOS device has never once shown me "this website requires Chrome."

Why would any PWA say that, if Safari had proper support for PWA?

>Instead it's web developers, who are just annoyed that they have to actually respect the conventions of the platform they're building for.

Say the developer is from a village in India or Nigeria who has just a Raspberry Pi to develop apps -

•What if the developer didn't have thousands of dollars to invest in new equipments just to develop for iOS?

•What if the developer wasn't able pay $99 every year for the Apple developer license?

•What if the just didn't want to give 30% cut to Apple from the revenue each time?

For all the times Apple uses 'Equality' in its marketing, the Apple platform & ecosystem restrictions clearly seems to be aimed at the privileged, pushing the agenda that 'Privileged is good' and 'Everyone should aim at being privileged'.

Less empathetic would respond, 'Well that's not Apple's fault that they aren't privileged'; Well then, we have to go back into colonial imperialism & American capitalism to prove why they aren't privileged in the first place and why Apple holds a responsibility every time it uses 'Equality, Human etc.' in it's marketing; which would be digressing from the topic.

Re:Microsoft and Google collaborate to make PWAs better by millstone on Saturday July 11, 2020 @01:26AM (#23799758)
> Why would any PWA say that, if Safari had proper support for PWA?

For the same reason that far too many desktop websites say that today.

> Say the developer is from a village in India or Nigeria who has just a Raspberry Pi to develop apps

Apple is not catering to this developer demographic.

> For all the times Apple uses 'Equality' in its marketing, the Apple platform & ecosystem restrictions clearly seems to be aimed at the privileged

You're conflating developers with users. What fraction of iPhone users are writing apps? If you wanted to prioritize users, there's much tougher questions you could ask.

Re:Microsoft and Google collaborate to make PWAs better by Abishek_Muthian on Saturday July 11, 2020 @02:03AM (#23799947)
Parent said it's the web developers who argue for PWA, I just stated why they have reasons to do that.
Re:Microsoft and Google collaborate to make PWAs better by millstone on Saturday July 11, 2020 @02:21AM (#23800026)
Yeah, agreed. The web is now the most developer-friendly platform by far.
Re:Microsoft and Google collaborate to make PWAs better by sciprojguy on Saturday July 11, 2020 @07:23AM (#23801252)
Ha. Using Foundation, Swift and SwiftUI I can write an app that doesn't require a trip to GitHub or Node.js in order to work properly. I can prototype my UI right there in Xcode, and if there's something I need that hasn't made it into SwiftUI yet I can bring in things from UIKit without very much effort. Best of all, I can build for macOS as well as iOS from the same codebase now. It's really hard to get more developer-friendly than that, unless you mean "web-developer-who-doesn't-want-to-learn-iOS-friendly".
Re:Microsoft and Google collaborate to make PWAs better by mihaela on Saturday July 11, 2020 @01:51AM (#23799885)
This argument is a great example of straw man. Or, a translation, this argument is BS.
Re:Microsoft and Google collaborate to make PWAs better by bobbylarrybobby on Friday July 10, 2020 @05:34PM (#23796772)
99.9% of users don’t even know what a browser engine is. Why would they care that they’re using WebKit instead of gecko or chromium? What they want is their bookmarks and such to sync between browsers across devices, and Apple lets that work just fine.

As an iPhone user I actually like that all phones use the same engine. It prevents the “this website is better viewed in <browser>” pop up from affecting mobile users (and in particular it forces google to support a browser other than chrome). In other words, the engine monoculture means that making a site work for any iOS users means it will work for every iOS user, which I as a user really appreciate.

Re:Microsoft and Google collaborate to make PWAs better by ptx on Friday July 10, 2020 @07:00PM (#23797601)
If the last period of monoculture (the IE one) had persisted, most sites wouldn't have worked for any iOS users. iOS might not been feasible at all.
Re:Microsoft and Google collaborate to make PWAs better by millstone on Friday July 10, 2020 @09:46PM (#23798703)
Yes, and the monoculture is Chrome, with Mobile Safari the holdout
Re:Microsoft and Google collaborate to make PWAs better by osrec on Saturday July 11, 2020 @03:28AM (#23800292)
Holdout or simply holding back?
Re:Microsoft and Google collaborate to make PWAs better by alwillis on Friday July 10, 2020 @06:02PM (#23797062)
In this regard, Apple reminds me of a cult leader brainwashing their followers into believing the cult's way is the best way. Makes me a little sick actually.

Are you sure you aren’t the one being brainwashed?

Why should anyone trust Google, since they make virtually all of their revenue from ad tech, which means tracking users across the web, even when they don't want to be. Advertisers are Google's customers, not the users of their browsers or operating systems.

And since Apple makes virtually all of their revenue from selling devices and services, who's more credible on the issue of privacy?

If we are to believe Apple cares about its users, then it makes perfect sense why they don't allow slower, less power efficient, less secure and less private web engines available on iOS.

"But shouldn't this be up to the user?" some will say ask. Yes, but to a point. There are already so many ways on the web to shoot yourself in the foot. Apple is making it clear that if you want a platform where there are no safeguards, then this isn't the platform for you.

There are certainly a tiny, vocal minority of iOS users who complain a lot about wanting the ability to shoot themselves in the foot if they so choose. But Apple knows those aren't their core users and their revenue show that.

They need to stop doing this, or they will hurt themselves in the long run.

People have been saying this for many years and now they're valued at over $1.5 trillion during an economic collapse and global pandemic. Please tell me when the lack of web APIs that would make it easier for their users to be tracked on the web is going to have any material effect on them.

Re:Microsoft and Google collaborate to make PWAs better by osrec on Friday July 10, 2020 @07:04PM (#23797630)
Oh man, not sure where to begin with responding to this.

I'm not saying Google is incredible (my opinion is quite the contrary actually). However, I am saying Apple is holding the web back, in a fairly annoying way, for developers.

The fact that they are a rich corporate does not mean they always will be, or that they're conducting their business in the best way possible. There are plenty of examples of rich tech businesses that lost their market share very quickly. We don't even need to look that far into the past for an example: BlackBerry sticks out in my mind. I believe their stubbornness and resistance to change caused their downfall. I feel it may be a similar fate for Apple, and for similar reasons, unless they change their attitude towards the web.

Re:Microsoft and Google collaborate to make PWAs better by tannhaeuser on Friday July 10, 2020 @11:56PM (#23799335)
"Holding the web back" lol. What the web is today, is coming straight out of Google's playbook, with WHATWG just a miniscule puppet organization consisting of Chrome devs promoting whatever Chrome does as standard. It's a scam to subvert what once was the web into a monopolistic tracking network and a 20 year project to morph a document viewer into the most absurd, power-inefficient, and clunky app platform imaginable that still can't do most anything that you'd want a smartphone to do, such as phoning. The narrative that big brother Google protects us from evil proprietary vendors somewhere lost its credibility; today, we need protection from Google more than anything else. Almost all new HTML5 APIs and even CSS can and will be used for fingerprinting so need to be rolled back or switched off anyway.
Re:Microsoft and Google collaborate to make PWAs better by mihaela on Saturday July 11, 2020 @02:00AM (#23799938)
"Apple is holding the web back"

Nope, Apple is taking care of it's customers and protecting them from Google's ad exploitation.

"I feel it may be a similar fate for Apple, and for similar reasons, unless they change their attitude towards the web"

On the contrary, if Apple allowed this web Wild West that Google is advocating, then the users would have incentive to switch. This move from Apple actually ensures that things run smoothly on Apple devices.

It is not about "power for web developers", it is web developers being lazy to self-educate and learn other stacks.

There is skill called "desktop development" and it does not entail Electron.

Luckily Apple is not gonna let that happen with the mobile apps and the PWA.

Re:Microsoft and Google collaborate to make PWAs better by osrec on Saturday July 11, 2020 @02:21AM (#23800024)
But Apple's app store is full of junk too - it is a veritable wild west in its own right.

You have the likes of Tiktok on there, collecting way more data than a PWA ever could. Do Apple not care about that?

Feels like a bit of a double standard on privacy, explicitly aimed at stifling the web.

Re:Microsoft and Google collaborate to make PWAs better by fauigerzigerk on Saturday July 11, 2020 @03:11AM (#23800222)
>Nope, Apple is taking care of it's customers and protecting them from Google's ad exploitation.

Apple is "protecting" its customers by restricting and patronising them like little children. Privacy by default is good, but many of their restrictions are clearly aimed at rent seeking.

Where customers really need protection, Apple is stabbing them in the back by aiding and abetting human rights abuses with their pointless side-loading ban and their willingness to let dictators run their own iCloud service.

Re:Microsoft and Google collaborate to make PWAs better by dmitriid on Friday July 10, 2020 @07:44PM (#23797956)
> I'm not saying Google is incredible (my opinion is quite the contrary actually). However, I am saying Apple is holding the web back, in a fairly annoying way, for developers.

Right. Because Google, who dominates the entire web standards spectrum, is known for creating well thought-out, well-designed APIs that take into consideration concerns and criticism, and thinking long-term of the web as a whole.

Oh wait, they don't. Up to and including the point where both Mozilla and Safari are saying they won't implement certain functionality because of glaring holes in the design, and Chrome not only shipping the features, but making them GA.

Oh, and yes. Most of the "Safari is holding back web developers" talk is bullshit, of course. It actually should read "Chrome releases APIs at neck breaking speed with zero concerns for the future of the web." See web API counts in major browsers: https://web-confluence.appspot.com/#!/confluence

Re:Microsoft and Google collaborate to make PWAs better by soraminazuki on Friday July 10, 2020 @09:56PM (#23798771)
> Up to and including the point where both Mozilla and Safari are saying they won't implement certain functionality because of glaring holes in the design, and Chrome not only shipping the features, but making them GA.

I feel this is being dismissed by many people, but there's a lot of truth in this statement. Here's an example of this at play:

https://twitter.com/Rich_Harris/status/1220412711768666114

Chrome devrels and cheerleaders pile on Safari and Firefox all the time for not adhering to Chrome's agenda and frame it as "holding the web back." But the true thing that holds the web back is a browser monoculture.

Re:Microsoft and Google collaborate to make PWAs better by osrec on Friday July 10, 2020 @08:14PM (#23798142)
Why, then, did it take safari so long to implement ServiceWorkers? I believe they were the last of major browsers to implement it. And they landed the feature more than 2 years after Firefox!

Also, why was Safari's IndexedDB feature released nearly 4 years after the other major browsers? And when released it, why was it full of bugs that simple test cases would have caught?

I don't want to fuel conspiracies, but the pattern is fairly obvious. Apple appears to resist progress in Web APIs.

Re:Microsoft and Google collaborate to make PWAs better by dmitriid on Saturday July 11, 2020 @11:38AM (#23802956)
> Why, then, did it take safari so long to implement ServiceWorkers? > Also, why was Safari's IndexedDB feature released

Priorities. Safari's team isn't as big as Chrome's.

> but the pattern is fairly obvious.

The only obvious pattern is the link I provided. And things like this:

- Chrome releasing APIs even when other vendors are against: https://twitter.com/Rich_Harris/status/1220412711768666114

- Chrome sabotaging competitors with shady practices: http://archive.is/tgIH9

and there are many many many more examples of this behaviour.

Re:Microsoft and Google collaborate to make PWAs better by osrec on Saturday July 11, 2020 @11:55AM (#23803091)
What about Firefox? Is Safari's team smaller than Firefox's as well?

Looking at this page: https://webkit.org/team/ and comparing it to https://wiki.mozilla.org/Firefox/Team/whois would suggest otherwise.

Do you have numbers from elsewhere to back up that claim?

Btw, I'm not saying Google are right to power through with poorly designed APIs either, but when there is a standard in place, why Safari takes sooo long to implement it is perplexing (or perhaps just a rather obvious strategy).

Re:Microsoft and Google collaborate to make PWAs better by dmitriid on Saturday July 11, 2020 @03:26PM (#23805036)
> Is Safari's team smaller than Firefox's as well?

Unknown

> but when there is a standard in place, why Safari takes sooo long to implement it is perplexing

Some standards are so bad, even Chrome ends up deprecating them (see Custom Elements v0).

Or they just go out of favor (see HTML Imports).

Or they are so poorly specified that even years after "becoming a standard" they have things like "this section is not specified yet" in their texts. And the status of these "standards" is often not above "Candidate Recommendation" (that is it is gathering implementation experience, and yes, that refers to Service Workers).

BTW Service Workers were moved to Candidate Recommendation about half a year ago: https://github.com/w3c/ServiceWorker/issues/1460 ("Double check everyone is happy with v1 going to CR.")

So yeah, I don't know what to say. Safari isn't chasing every API under the sun? Good for them. Web Devs assuming that whatever's in Chrome is the be all end all standards on the web? Bad for the web and for the devs. Apple possibly not prioritising Safari? Bad for the web as well.

Re:Microsoft and Google collaborate to make PWAs better by Spooky23 on Friday July 10, 2020 @10:28PM (#23798951)
Developer experience needs to be good enough. Beyond that it’s in the platform owners interest to keep them on a tight leash.

The android ecosystem demonstrates that freedom isn’t necessarily creating a materially better ecosystem.

Blackberry was a different problem — they saw themselves as a messaging platform that did some other stuff.

Re:Microsoft and Google collaborate to make PWAs better by kinkrtyavimoodh on Friday July 10, 2020 @08:45PM (#23798341)
Where did privacy come in this discussion?

If you are going to be fear-mongering based on vague assertions and appeals to business models, it would be wise to mention the 30% fee on all digital transactions that Apple extorts from all its apps. It is very clear that Apple doesn't want to lose that control (and revenue) to the Web, which despite the attempts of all corporations (including at times Google), still manages to be a little more open than our corporate overlords would like.

Re:Microsoft and Google collaborate to make PWAs better by osrec on Saturday July 11, 2020 @03:12AM (#23800225)
Some people are happy to buy the Apple speil re privacy to knock web apps, all while using apps like Tiktok that'll probably violate their privacy much more than a PWA ever could.

The privacy argument is without basis, imo. Google is terrible on privacy too, and somewhat evil, and its browser is terrible at managing memory (I say this to prove I'm not a Google fanboy!) but at least it's not stifling innovation on the web.

Re:Microsoft and Google collaborate to make PWAs better by tannhaeuser on Saturday July 11, 2020 @04:05AM (#23800426)
There are people who don't want Google's "innovations" as they turn browsers into monstrosities that nobody except Google can maintain, and already have turned the web into the pile of shit of content marketing (with like 500 trackers on every site), service lock-in, cesspool of polarizing clickbait and propaganda, hopeless web app crap, and place where content creators get screwed that it is today. Saying this as someone with a very heavy time investment into web tech. Compare this with the useful web we used to have 10 years ago. Apple is no saint, but there's a difference between resistance to social-engineer open standards into a monopolistic enslavement machine and race to the bottom vs "stifling innovation".
Re:Microsoft and Google collaborate to make PWAs better by tapoxi on Friday July 10, 2020 @06:32PM (#23797349)
> If we are to believe Apple cares about its users, then it makes perfect sense why they don't allow slower, less power efficient, less secure and less private web engines available on iOS.

Caring would mean giving people a choice. The real reason is they're pivoting into services and other forms of recurring revenue. They don't want people building platform-independent apps that don't need Apple approval and can bill outside of their 30% cut.

Re:Microsoft and Google collaborate to make PWAs better by vially on Friday July 10, 2020 @06:32PM (#23797355)
> [...] why they don't allow slower, less power efficient, less secure and less private web engines available on iOS

Do you have a source that shows how chromium/edge/firefox/etc are inferior to safari in this regard?

Re:Microsoft and Google collaborate to make PWAs better by alwillis on Saturday July 11, 2020 @03:01PM (#23804769)
For pure speed of the web + Javascript engines: "Introducing the JetStream 2 Benchmark Suite": https://webkit.org/blog/8685/introducing-the-jetstream-2-ben...

Anyone with a MacBook or MacBook Pro can attest to the fact their battery last significantly longer using Safari vs Firefox or Chrome. Apple has numbers on the Safari page: https://www.apple.com/safari/

You can run EFF’s Panopticlick test for what browsers block (or don't block) regarding fingerprinting. Safari blocks or disguises several features that are used for fingerprinting; Chrome blocks nothing: https://panopticlick.eff.org/

Re:Microsoft and Google collaborate to make PWAs better by waon on Friday July 10, 2020 @10:38PM (#23798996)
Mozilla's arewefastyet.com used to show daily benchmark results for all major browser engines. Sadly, it ceased to include Safari after they scrapped the system in favor of a new one.

https://github.com/mozilla/arewefastyet

Re:Microsoft and Google collaborate to make PWAs better by Abishek_Muthian on Friday July 10, 2020 @10:42PM (#23799014)
>If we are to believe Apple cares about its users, then it makes perfect sense why they don't allow slower, less power efficient, less secure and less private web engines available on iOS.

Woah![1]

> "But shouldn't this be up to the user?" some will say ask. Yes, but to a point. There are already so many ways on the web to shoot yourself in the foot.

That sounds exactly like what a dictator would say when asked why the citizens are not allowed to vote.

[1]https://googleprojectzero.blogspot.com/2018/10/365-days-late...

Re:Microsoft and Google collaborate to make PWAs better by AnthonyMouse on Friday July 10, 2020 @07:44PM (#23797961)
> Why should anyone trust Google, since they make virtually all of their revenue from ad tech, which means tracking users across the web, even when they don't want to be. Advertisers are Google's customers, not the users of their browsers or operating systems.

We don't need this whataboutism to evaluate Apple. You're making the argument for PureOS or Debian, not iOS.

> If we are to believe Apple cares about its users, then it makes perfect sense why they don't allow slower, less power efficient, less secure and less private web engines available on iOS.

No it doesn't. They could make a better browser and, if it was actually better in every way, nobody would have any reason to use anything else. The fact that people would given the choice implies that something about choosing differently makes them better off enough to switch from the default.

> Apple is making it clear that if you want a platform where there are no safeguards, then this isn't the platform for you.

Safeguards mean warning someone adequately when they're about to do something suspect. Outright prohibiting the user from making an informed choice isn't a safeguard, it's a cage.

> People have been saying this for many years and now they're valued at over $1.5 trillion

Exxon was at one point the most valuable company on the exchange as well. What does that tell you about the ethics of how they got there, or what their future prospects look like?

Re:Microsoft and Google collaborate to make PWAs better by EvanWinget on Friday July 10, 2020 @03:16PM (#23795200)
I wish that Apple had better support for PWAs and allowed alternative rendering engines. The issue is that they are the only major player in mobile that cares about user privacy, and this allows them to maintain their monopoly for many users.

If the option is Android + first-class support for PWAs vs. Apple with limited support for PWAs, I’ll go for the latter every time.

[dead]
Re:Microsoft and Google collaborate to make PWAs better by millstone on Friday July 10, 2020 @10:01PM (#23798799)
This is a bad-faith distraction from the topic at hand. The privacy work that Apple has done on the web is real and significant. We know because ad pricing for Safari users has dropped 60%, while for Chrome users it's increased. That means tracking is working on Chrome and not Safari.
Re:Microsoft and Google collaborate to make PWAs better by lern_too_spel on Saturday July 11, 2020 @12:57AM (#23799631)
GGP was talking about iOS devices specifically, and I showed how they are worse for privacy than their alternatives due to long-standing and long-complained-about practices by Apple. Do you disagree? You have not given any reason why anybody should.

As far as ad prices, you are citing a report from 2019. Since then, Safari ITP has been thoroughly compromised to the point where it leaks more information when it's on than when it's off. Meanwhile, Chrome supports uBlock Origin, just like Firefox (and unlike Safari).

Re:Microsoft and Google collaborate to make PWAs better by millstone on Saturday July 11, 2020 @01:48AM (#23799871)
The report is from December 2019, it has relevance in July 2020. Android Chrome does not support uBlock Origin. Mobile Safari prevents more tracking than Chrome, which is reflected in the lower ad prices. "Safari ITP is compromised" is a lie.
Re:Microsoft and Google collaborate to make PWAs better by lern_too_spel on Saturday July 11, 2020 @03:02AM (#23800185)
> "Safari ITP is compromised" is a lie.

Saying that statement is a lie is itself a lie. https://www.imore.com/google-engineer-says-apples-intelligen...

The way that Apple addressed the ITP bugs is in fact a wonderful example of privacy lip service.

> Android Chrome does not support uBlock Origin.

Android allows you to run actual Firefox, which does support uBlock Origin. As a bonus, it doesn't even require you to tell anybody that you have installed Firefox. That is what actual privacy looks like.

Re:Microsoft and Google collaborate to make PWAs better by _bxg1 on Friday July 10, 2020 @02:54PM (#23794949)
Microsoft has also heavily invested in the web ecosystem via VSCode, TypeScript, and NPM. Not to mention that Office is now chiefly a web app. My guess is that, among other things, they see it as a way to cultivate fields adjacent to Azure and attract customers to it.
Re:Microsoft and Google collaborate to make PWAs better by paxys on Friday July 10, 2020 @02:26PM (#23794653)
New leadership definitely helps. Satya seems to want to move past the old way of doing things at Microsoft as aggressively as possible.
Re:Microsoft and Google collaborate to make PWAs better by zelly on Friday July 10, 2020 @09:53PM (#23798744)
PWAs would be very off brand for iOS. It would allow all kinds of spammy low-quality apps to masquerade as iOS apps without any vetting from Apple.

Part of Apple's success is their extreme stubbornness. They decide something and make zero compromises. The consumer tech industry is forced to fall in line with whatever they want; they have final veto power over all new consumer tech basically.

Re:Microsoft and Google collaborate to make PWAs better by rchaud on Friday July 10, 2020 @10:24PM (#23798927)
You describe the iOS app store as some kind of zen garden of curated software, when it's full off the same kind of spammy apps that pollute other app stores. When the app inventory numbers in the million plus, it is impossible for every one to be reviewed for quality, or to be distinct from others already in the store.

The purpose of the App Store was to ensure that Apple got a cut of every dollar flowing through the store. Gatekeeping quality requires more than blocking developers from uploading fart apps.

Re:Microsoft and Google collaborate to make PWAs better by arcturus17 on Saturday July 11, 2020 @04:18AM (#23800485)
Yea, some people have rose-tinted glasses when it comes to Apple.

I downloaded a simple HIIT (high-intensity interval training) timer app the other day. It's just a glorified stop timer that automatically pauses at intervals so you can do exercise-rest cycles.

I settled for the second or third most popular alternative since it was the first one that didn't have a HIIT-timer-as-a-service business model (WTF... no, I don't want to create an account for a timer app).

Still a disgusting experience. Before you start an exercise there's an obnoxious 10-second video ad playing at full blast. The interface is atrocious, too.

The app was free, so I can't complain on that front, I guess. I would pay $3-$6 flat for something like this, but herein lies the problem: I can't even find such an alternative. The results in the app store search were filled with garbage (SaaS as I mentioned, irrelevant crap, bloated "fitness assistant" apps, etc.)

I could definitely conceive this app being built as a PWA and being 100x better than many of those. For this use case I couldn't care less about PWA vs. native, both could work if done well; the point is that I really don't see what Apple's supposedly strict standards have done to protect my user experience from greedy, incompetent or careless designers and developers.

Re:Microsoft and Google collaborate to make PWAs better by millstone on Saturday July 11, 2020 @02:08AM (#23799971)
> You describe the iOS app store as some kind of zen garden of curated software, when it's full off the same kind of spammy apps that pollute other app stores

Yeah, it's disgusting.

> The purpose of the App Store was to ensure that Apple got a cut of every dollar flowing through the store

I think there were competing internal forces: a desire to milk the iPhone's success, vs something akin to an Apple retail store experience. Sadly they gave us the worst of both worlds: they freely admit shit, yet pick fights with good stuff, like Basecamp Hey mail.

It makes no sense why Apple would choose to defend this hill. Either make it a Zen garden or turn it to a web-style free-for-all.

Re:Microsoft and Google collaborate to make PWAs better by julianlam on Friday July 10, 2020 @10:33PM (#23798979)
The stubbornness of iOS is a large part of why PWAs haven't been broadly adopted.

At some point their hardline stance will backfire.

Re:Microsoft and Google collaborate to make PWAs better by rimliu on Saturday July 11, 2020 @04:35AM (#23800548)
Yeah yeah, PWAs will win. Any day day now. They have beeb winning for ten years already. The very first third party apps on iPhone were PWAs. iPhone was the place where canvas and CSS animations, etc. first appeared. Yet when SDK appeared developers and users preferred native. With a reason.
Re:Microsoft and Google collaborate to make PWAs better by davrous on Wednesday July 15, 2020 @09:25AM (#23844862)
By the way, the Bing Covid PWA has been published to the Microsoft Store using Pwabuilder.com ;)