News for hackers. Stuff that matters.
Re:Apple reverses course on death of Progressive Web Apps in EU by aeurielesn on Friday March 01, 2024 @12:11PM (#39563912)
I also wonder what's point of PWAs _only_ supported in WebKit.

It feels like they trying to keep playing cat and mouse.

Re:Apple reverses course on death of Progressive Web Apps in EU by readams on Friday March 01, 2024 @12:28PM (#39564176)
Mostly Apple wants to ensure that PWAs can't emerge as a viable option. As long as they're on WebKit, they can ensure that the apps are limited in their functionality.
Re:Apple reverses course on death of Progressive Web Apps in EU by graftak on Friday March 01, 2024 @12:49PM (#39564459)
PWA’s can run a ServiceWorker in the background too, I can imagine Apple does not want anyone to be able to run code they don’t control as a background task as this may negatively affect overall performance and battery life.
Re:Apple reverses course on death of Progressive Web Apps in EU by agust on Friday March 01, 2024 @12:54PM (#39564518)
Apple not wanting PWA to work properly on iPhones has nothing to do with performance, security, privacy, battery life or whatever excuse they may officially come up with.

The only reason Apple does not want PWA is because it threatens their App Store profit.

More information: https://open-web-advocacy.org/blog/apple-backs-off-killing-w...

Re:Apple reverses course on death of Progressive Web Apps in EU by robin_reala on Friday March 01, 2024 @01:05PM (#39564683)
These black and white takes are boring. It can be all of the above.
Re:Apple reverses course on death of Progressive Web Apps in EU by Sammi on Friday March 01, 2024 @01:33PM (#39565070)
Only one of the options affects the bottom line of Apple. Incentives incentives incentives. When you want to understand what and why people do what they do, always find out the incentives.
Re:Apple reverses course on death of Progressive Web Apps in EU by robin_reala on Friday March 01, 2024 @01:47PM (#39565250)
Then why would they have bothered adding any support in the first place? There are market incentives in at least appearing to be modern.
Re:Apple reverses course on death of Progressive Web Apps in EU by agust on Friday March 01, 2024 @02:05PM (#39565482)
Web apps were the first apps that Apple supported on the iPhone, as of 2007. Back then they did not have native apps, that's why they bothered supporting them.

They then realized that they could make much more money with locked-down proprietary apps that they could tax at will through their App Store. Since then Apple has blocked any meaningful evolution of web apps, to prevent them from competing with native apps.

Re:Apple reverses course on death of Progressive Web Apps in EU by Someone on Friday March 01, 2024 @03:10PM (#39566240)
I don’t see how that fits the timeline.

The App Store was opened in 2008, and was a huge success in 2018 (https://www.apple.com/newsroom/2018/01/app-store-kicks-off-2...: “New Year’s Day Sets Record With $300 Million in Purchases”)

If “Since then Apple has blocked any meaningful evolution of web apps”, why did they add support for PWAs on iOS in 2018? (https://medium.com/awebdeveloper/progressive-web-apps-pwas-a...: “Safari is finally adding PWA features.”)

Re:Apple reverses course on death of Progressive Web Apps in EU by mthoms on Friday March 01, 2024 @11:59PM (#39569968)
It's more complicated than that.

1) From a regulation standpoint, it's in Apple's interest for PWA's to exist; Apple has used the argument in court that PWA's are a viable alternative to it's App Store and therefore it does not have a monopoly on iOS "apps".

2) From a financial standpoint, it's in Apple's interest for the PWA experience to be sub-par.

And this is how we got here.

Re:Apple reverses course on death of Progressive Web Apps in EU by brookst on Friday March 01, 2024 @04:53PM (#39567237)
PWA’s are not at all the same thing as the “pin to Home Screen” feature in iOS 1.0.

PWA’s were a brand new subsystem introduced in iOS 11 with substantial (yet not emough) ongoing investment since then.

The conspiracy theory still doesn’t answer “why have then been investing in PWA’s since iOS 11?”, if they wanted them dead they could have just removed them rather than doing incremental enhancements.

Re:Apple reverses course on death of Progressive Web Apps in EU by Sammi on Friday March 01, 2024 @02:02PM (#39565444)
Misalignment of the company bottom line (incentives) and employees bottom line (incentives). Company gets money from variable App Store revenue which is directly threatened by PWAs. Employees get money from fixed monthly salary, which is only indirectly threatened by PWAs.

Employees take money and do what is required of them, and otherwise do what they think is awesome. Employees think PWAs are awesome so PWAs happen... until they threaten almighty App Store then it stops.

Re:Apple reverses course on death of Progressive Web Apps in EU by lloeki on Friday March 01, 2024 @02:42PM (#39565940)
> Company gets money from variable App Store revenue which is directly threatened by PWAs.

I don't see how a PWA-enabled Safari fits into this narrative.

Timeline:

0) Apple hires key people and invests 4 years in PWA support for Safari on iOS.

1) Apple releases support for PWAs in Safari for iOS worldwide.

2) The DMA compliance thing happens.

3) Apple allows alternative browser engines + disables PWAs in the EU.

4) Apple rolls back PWA disablement in the EU.

I mean, 0 and 1 are not some skunkwork. It hasn't been sneaked into the release. PWA support predates this DMA drama. It was disabled only in the EU.

PWAs challenging App Store revenue is completely orthogonal to them being Safari-exclusive or not. PWA support for iOS has been invested on, released, enabled, and has even more features coming up and prereleased in the tech preview. Nobody forced Apple to do that. That alone is solid material fact, blowing away hypothetical claims of evil intent.

Re:Apple reverses course on death of Progressive Web Apps in EU by mthoms on Saturday March 02, 2024 @12:24AM (#39570068)
>Nobody forced Apple to do that. That alone is solid material fact, blowing away hypothetical claims of evil intent.

Apple has been actively using the existence of PWA's as an argument in court that it's App Store does not have a monopoly on iOS app distribution. So, yes... It's likely Apple want's PWA's to exist on iOS.

It's also very likely (given their financial incentives) that they don't want them to be a very good experience.

Re:Apple reverses course on death of Progressive Web Apps in EU by evilduck on Friday March 01, 2024 @07:09PM (#39568431)
Are they not incentivized to maintain battery life? Perception of battery life impacts sales. You can't sell App Store apps without phone sales. Yadda yadda yadda. You can argue this towards any preconceived notion you want here. Nobody has any actual evidence, despite all the absolutism in their posturing.
Re:Apple reverses course on death of Progressive Web Apps in EU by rchaud on Friday March 01, 2024 @01:59PM (#39565395)
What is boring is pretending that technical considerations about battery life play anywhere near as decisive a role in this matter as simply protecting a multi-billion dollar line item that is app store revenue.
Re:Apple reverses course on death of Progressive Web Apps in EU by dnissley on Friday March 01, 2024 @04:00PM (#39566741)
My take is that it's more about control of the experience, which is something baked into Apple's DNA.
Re:Apple reverses course on death of Progressive Web Apps in EU by leptons on Friday March 01, 2024 @01:53PM (#39565334)
Black and white? Apple not allowing other browsers to have their own browser engines is a black-and-white decision. All or nothing. Apple or nothing. It's all about what Apple wants, and that's MONEY. They don't care about anything else by keeping other browser engines off their platform. It doesn't matter what stupid reason they spout off. It's always about money. Allowing functional PWAs and other browser engines on their walled-garden platform will mean they make less money from their app store. That's it, that's literally all this is about.
Re:Apple reverses course on death of Progressive Web Apps in EU by isleyaardvark on Friday March 01, 2024 @02:28PM (#39565762)
You mean euros instead of money, right? Because the changes were only for the EU region, so it’s euros and not dollars or kroner or what have you?
Re:Apple reverses course on death of Progressive Web Apps in EU by d1sxeyes on Friday March 01, 2024 @02:44PM (#39565961)
Not all EU countries use the euro.
Re:Apple reverses course on death of Progressive Web Apps in EU by leptons on Friday March 01, 2024 @10:14PM (#39569482)
No, I mean MONEY in any form. Apple doesn't really care about users or developers, all they care about is money. They have proven again and again that they will hobble the product if it means they can make more money.
Re:Apple reverses course on death of Progressive Web Apps in EU by danaris on Friday March 01, 2024 @01:07PM (#39564700)
Right, right; everything is 100% black or 100% white. There is no nuance to anything around Apple, and no point in even thinking about the reasons they give, let alone recognizing where they have a good point, whether or not that point outweighs the arguments against it.

...Like, seriously? I can fully understand disliking Apple, and disagreeing with their choices, but to claim that none of Apple's stated concerns—which are perfectly reasonable on their face, regardless of whether you consider their weight to be sufficient to justify the choice—are legitimate at all? That they are only concerned with profit?

Re:Apple reverses course on death of Progressive Web Apps in EU by isleyaardvark on Friday March 01, 2024 @01:40PM (#39565145)
They’re somehow only concerned with profit, but only concerned with profit in the EU, since their PWA changes only affected that region.
Re:Apple reverses course on death of Progressive Web Apps in EU by realusername on Friday March 01, 2024 @01:42PM (#39565179)
> but to claim that none of Apple's stated concerns—which are perfectly reasonable on their face

We don't need to speculate, cross-browser PWA work fine on Android and are secure.

No, Apple's claims do not seem reasonable or valid here since there's an existing implementation contradicting them.

Re:Apple reverses course on death of Progressive Web Apps in EU by rejhgadellaa on Friday March 01, 2024 @01:00PM (#39564603)
Service Workers (SW) and installable PWAs are two different things.

Regular sites in browser tabs can have SWs.

When the full Chrome(ium) or FF hits iOS (engine and all), they will want to run SW. And, if I understand the DMA correctly, Apple will be forced to make that possible for 3rd party browser engines.

Re:Apple reverses course on death of Progressive Web Apps in EU by Nemo_bis on Saturday March 02, 2024 @05:48AM (#39571639)
Don't "installable PWAs" require service workers?
Re:Apple reverses course on death of Progressive Web Apps in EU by scarface_74 on Friday March 01, 2024 @02:43PM (#39565948)
Like they have emerged as a viable option on Android?
Re:Apple reverses course on death of Progressive Web Apps in EU by sangnoir on Friday March 01, 2024 @02:55PM (#39566074)
Yes. Would you rather install a full-on app for a once-off event (concert, festival or conference) or would you rather just install a light-weight PWA or just use the website?
Re:Apple reverses course on death of Progressive Web Apps in EU by ryandrake on Friday March 01, 2024 @03:32PM (#39566460)
Just one user's opinion. I'd just use the web site for a one-off event. But if I had to install something for some reason, I probably wouldn't care what technology it was made with and would only care if there was a functionality or performance difference. Honestly, nobody but web developers cares about PWAs. If you put a gun to my head and made me choose between Native and PWA, I guess I'd choose a native app that looks and feels like a native app, performs like a native app, uses native controls and UX idioms, and has the security guarantees of a native app. I honestly don't think users's really care about this PWA vs. Native App war that web developers insist on making a big deal over.
Re:Apple reverses course on death of Progressive Web Apps in EU by scarface_74 on Friday March 01, 2024 @03:53PM (#39566674)
Well, and that all works on Safari…

And that’s not what most people consider a PWA.

Re:Apple reverses course on death of Progressive Web Apps in EU by sangnoir on Friday March 01, 2024 @05:32PM (#39567590)
I have attended conferences that can be described as "scrappy": flakey oversubscribed wifi, lots of interesting talks and multiple "streams" in different rooms over 2-3 days in a foreign country where my visit was too short to bother to buy a SIM card. Being apple to see the schedule offline would have been a boon, a problem that can be effectively solved by PWAs.

Any app that's geared towards visitors or tourists is better served as a PWA - think of the apps used to pay for transit, or parking in a city you're visiting. A website is Ok, but offline access and a shortcut on the homescreen would be better.

Re:Apple reverses course on death of Progressive Web Apps in EU by scarface_74 on Friday March 01, 2024 @05:41PM (#39567672)
Or you know, go to the agenda before you leave your hotel and convert it to a PDF….
Re:Apple reverses course on death of Progressive Web Apps in EU by Tteriffic on Friday March 01, 2024 @03:35PM (#39566495)
AppClip would be best
Re:Apple reverses course on death of Progressive Web Apps in EU by kemayo on Friday March 01, 2024 @12:43PM (#39564374)
If that's Apple's motivation, why have they been implementing PWAs at all? Killing them would be even simpler if they just weren't on iOS in the first place.
Re:Apple reverses course on death of Progressive Web Apps in EU by jamesgeck0 on Friday March 01, 2024 @12:50PM (#39564468)
They’ve been on iOS since the beginning, predating the App Store. They were originally supposed to be the only public API for building 3rd party apps on iOS.

For a long time they appeared to be in maintenance mode on iOS. They’re still years behind what Chrome allows PWAs to do.

Re:Apple reverses course on death of Progressive Web Apps in EU by dunham on Friday March 01, 2024 @01:44PM (#39565208)
Apple has also added PWA to Desktop Safari in the latest OS release (which seems to work well for Tana). So their Safari team is putting some continuing effort behind PWA in general.

I used this when I was taking a break from chrome, because Firefox cancelled their PWA support for Desktop.

Re:Apple reverses course on death of Progressive Web Apps in EU by albert180 on Friday March 01, 2024 @12:58PM (#39564584)
Because they are their go to excuse why the limitation to the App Store isn't a monopoly with the regulators.
Re:Apple reverses course on death of Progressive Web Apps in EU by burnerthrow008 on Friday March 01, 2024 @01:21PM (#39564883)
So... you're saying that having PWAs is purely performative because nobody actually uses PWAs... meaning that the loss of PWAs has no impact on customers?
Re:Apple reverses course on death of Progressive Web Apps in EU by albert180 on Friday March 01, 2024 @02:31PM (#39565805)
No, but they are obviously not equivalent in capabilities on iOS
Re:Apple reverses course on death of Progressive Web Apps in EU by realusername on Friday March 01, 2024 @01:44PM (#39565209)
As far as I'm concerned, it's just an argument for them to use in antitrust lawsuits. "See, they could have developed a web app if they aren't happy with our store". It's better to keep an option opened, especially if it's not good enough to be used.
Re:Apple reverses course on death of Progressive Web Apps in EU by zer00eyz on Friday March 01, 2024 @01:20PM (#39564868)
I have been making the argument that apple pulling back on this was a "security" issue.

Browsers are more code than most OS's they run on. Hell a browser IS its own operating system for all intents. One that can access the network and do all sorts of bad things on its own.

This matters for the phone. Its a device many people take with them everywhere, bathrooms, bedrooms etc.

Locking PWA's to web kit likely has some underlying security issues. If you dont think browsers aren't full of holes and permissions issues go look at the LAST compromise, Edge snarfing Chrome tabs.

All that said, there are a lot of places where PWA's still suck, because browsers suck.

Re:Apple reverses course on death of Progressive Web Apps in EU by kmeisthax on Friday March 01, 2024 @06:21PM (#39568023)
The underlying problem is that when you pin a site to your home screen, that site gets a separate application identity and storage container[0]. SpringBoard shows it as a separate icon and window in the multitasking view and Settings shows a separate settings page for it, too.

If you squint a little, you'll notice that this sounds a little like the problem Craig Federighi cited with Xbox's cloud app. Namely that Apple doesn't want multiple apps wearing the same 'trenchcoat', so to speak. But they also don't want to actually implement the APIs necessary for an app to break itself apart in the UI and pretend to be multiple apps. So you can't have multiple icons on the home screen, or launch with different storage containers and permissions depending on what app was touched. You can't even have a dependency that gets shared across multiple apps, like what Microsoft wanted with the streaming and authentication code for Xcloud. Ship multiple copies.

Personally this still smells like malicious compliance. Apple does literally all of the things I just mentioned and has been doing them since iPhone OS 1.0. Any security issue caused by an app having two icons can be remedied by the exact same review process that Apple insists they need to be the kings of anyway.

[0] On Apple "device" OSes, each installed app has it's own sub-home directory inside the user's home directory (/var/mobile). This is called a container.

Originally the container had both the app install and it's data; but those were split around iOS 9 so that apps could write to shared containers. That's also why some apps don't actually show up on the Storage view in Settings, and instead there's a separate entry for the developer as a whole.

Containers don't exist on macOS. Mac App Store apps and iOS apps on macOS live in /Applications and write to your user home directory.

Re:Apple reverses course on death of Progressive Web Apps in EU by fredoralive on Friday March 01, 2024 @01:28PM (#39564996)
IIRC "Web Apps" pinned to the homescreen (which was the thing being broken) are hosted by Springboard (the shell), not Safari as part of the magic so they appear as separate apps. Rather than rework this to allow rendering engine switching, they obviously just decided to turn it off, at least at first.
Re:Apple reverses course on death of Progressive Web Apps in EU by rezonant on Friday March 01, 2024 @01:30PM (#39565025)
That part was still present: You could still add a web app to your home screen. It was that it didn't run as a PWA, with the additional features PWAs get.
Re:Apple reverses course on death of Progressive Web Apps in EU by mmis1000 on Friday March 01, 2024 @01:46PM (#39565239)
Because it's technically a separate app in ios system, with all storage separation, permission… etc. enforced by the system itself. And ios don't actually allow any app to install another app unlike Android. The pwa install process is a somewhat backdoor build into safari and ios for this specific usage and never made public at first place.

To make this work with another browser. They would need to fix this, make a safe public api for it, and publish it in new ios version. (Which they think it's way too much work and rather want to get rid of it instead)

Re:Apple reverses course on death of Progressive Web Apps in EU by adrr on Friday March 01, 2024 @01:50PM (#39565284)
Browser can do the exact same thing as a PWA app. It's using the same web APIs.

Edit: don't know why I am getting downvoted. A web page can do exaxt same thing as a PWA. Access camera,mic, files system, Bluetooth etc, send push notifications here's an example.

https://developer.mozilla.org/en-US/docs/Web/API/FileSystem

Re:Apple reverses course on death of Progressive Web Apps in EU by yurishimo on Friday March 01, 2024 @02:06PM (#39565501)
Not to access native push notifications which was the one feature that Apple only just added in 2023.

Sure, Webkit and mobile safari have supported things like service workers for years and years, but we just freaking got notifications and so it felt like they were yanking it back.

But to make push notifications happen, you need a central push server. How do you handle that with a third party browser engine? Where does the browser app request notification access? But then how is that delegated to a separate PWA if you have notifications turned off for the browser specifically? Currently, notifications run through Apple servers on iOS. With third party engine support, that opens a can of worms needed to proxy the requests into an iPhone.

Re:Apple reverses course on death of Progressive Web Apps in EU by adrr on Friday March 01, 2024 @02:23PM (#39565714)
PWAs on ios couldn't send them until the it was supported in webkit and safari. Talking security concerns about a PWAs which is the same risk as allowing users browser the internet since it's using the exact same APIs. Banning PWAs security reasons wouldn't make sense unless you just banned users from browsing the internet on the device as well. It's the same security threat.
Re:Apple reverses course on death of Progressive Web Apps in EU by monocularvision on Friday March 01, 2024 @06:31PM (#39568121)
Maybe you are getting downvoted because you are wrong. On iOS, you cannot receive push notifications unless you have been added as a PWA to the home screen.
Re:Apple reverses course on death of Progressive Web Apps in EU by Nemo_bis on Saturday March 02, 2024 @05:53AM (#39571656)
Thanks. It's helpful to mention the specific features needed, as people often mean different things when discussing PWAs. I see https://letter.open-web-advocacy.org/ says «critical features including integration with iOS, push notifications, unread count badging, and the ability to run full screen».
Re:Apple reverses course on death of Progressive Web Apps in EU by brookst on Friday March 01, 2024 @04:50PM (#39567199)
It’s super well documented if you care to look. PWA’s rely on a Safari service worker running as a system process. Under the current iOS PWA architecture, any browser hosting a PWA can ignore app sandboxing.

I don’t understand why people speculate weird conspiracies rather than doing a bit of research to see the actual issue. We can still pile on Apple for a bad design, lack of foresight, and unwillingness to totally rebuild the PWA architecture.