News for hackers. Stuff that matters.
Re:Apple confirms iOS 17.4 removes Home Screen web apps in t... by HL33tibCe7 on Thursday February 15, 2024 @02:14PM (#39387094)
The reasoning here from Apple seems reasonable to me to be honest - they’ve gone into a surprising level of technical detail, quite interesting. I suspect many in this thread are commenting without actually reading their argument.
Re:Apple confirms iOS 17.4 removes Home Screen web apps in t... by adrr on Thursday February 15, 2024 @02:30PM (#39387342)
Its not honest. PWA has the same functionality as standard web app. You still need to grant permissions like Microphone Access, Camera access. Only difference is that a PWA has a manifest which defines appearance, splash screens, localization. Here's the starbucks PWA which is one the most popular PWAs.

https://app.starbucks.com/

Re:Apple confirms iOS 17.4 removes Home Screen web apps in t... by threeseed on Thursday February 15, 2024 @02:44PM (#39387557)
> You still need to grant permissions like Microphone Access, Camera access

"including isolation of storage and enforcement of system prompts to access privacy impacting capabilities on a per-site basis"

One scenario is that today there is one instance of WebKit owned by the Home Screen process shared amongst all of the PWA apps which is enforcing that prompt. With third party engines that prompt would appear for the first app invocation but not any subsequent ones.

This is only an issue with PWA since for normal apps the browser process is per-app rather than shared.

Now they could rewrite the Home Screen execution environment to support one engine per app but their argument is that it's not worth their effort.

Re:Apple confirms iOS 17.4 removes Home Screen web apps in t... by adrr on Thursday February 15, 2024 @04:25PM (#39389135)
You run the apps in the context of the default browser app. The same way Mac OS does PWAs.
Re:Apple confirms iOS 17.4 removes Home Screen web apps in t... by _factor on Wednesday February 21, 2024 @01:43PM (#39457715)
Try comparing that pwa to the native app and you'll soon find that most navigation ends up with quasi browser bars that obstruct the UI and slow the experience down.

Apple surely does this on purpose to prevent PWAs from being useful. Can't let any App store competition arise.

Re:Apple confirms iOS 17.4 removes Home Screen web apps in t... by lxgr on Thursday February 15, 2024 @02:17PM (#39387140)
The reasoning can at the same time be technically correct ("we would have needed to allow Firefox and other browsers to provide homescreen PWAs as well in our read of the DMA, and that would have been somewhat annoying") and highly motivated by business interests ("oh, I guess you'll have to develop native apps now and pay us a CTF for them").
Re:Apple confirms iOS 17.4 removes Home Screen web apps in t... by threeseed on Thursday February 15, 2024 @02:33PM (#39387403)
> and that would have been somewhat annoying

Allowing PWA to access the camera/microphone without system prompts and install other apps on the device is a little more than just annoying.

Re:Apple confirms iOS 17.4 removes Home Screen web apps in t... by lxgr on Thursday February 15, 2024 @02:40PM (#39387498)
They can always remove that capability from WebKit PWAs in the EU if they really can't come up with something better.
Re:Apple confirms iOS 17.4 removes Home Screen web apps in t... by MrStonedOne on Thursday February 15, 2024 @02:35PM (#39387429)
than disable that specific functionality until you can make the framework instead of throwing out the whole thing in a tempter tantrum?
Re:Apple confirms iOS 17.4 removes Home Screen web apps in t... by threeseed on Thursday February 15, 2024 @02:52PM (#39387688)
On iOS you can't disable functionality in that way.

Objective-C allows dynamic dispatch to private API methods which would be just fine to do on third party app stores.

As I mentioned above the issue is likely related to engines being able to cache the system prompts approvals across multiple PWAs effectively bypassing them.

Re:Apple confirms iOS 17.4 removes Home Screen web apps in t... by lxgr on Thursday February 15, 2024 @04:03PM (#39388816)
The third-party browser could just have its own prompt until Apple delivers their API, no?

On macOS, I already have to both grant Firefox permission to access camera, and then Firefox asks me about every website trying to access it individually, using their own UI.

Re:Apple confirms iOS 17.4 removes Home Screen web apps in t... by threeseed on Thursday February 15, 2024 @04:19PM (#39389035)
So you want to hand over control of who has access to the camera, microphone, photos, contacts to random browsers.

Or to companies like Google and Meta for advertising purposes.

Re:Apple confirms iOS 17.4 removes Home Screen web apps in t... by lxgr on Thursday February 15, 2024 @04:43PM (#39389402)
Did you read my comment? You still need to grant the permission to the browser in the first place.

This isn't any different from how it works already for all kinds of apps: If you grant Zoom the permission to access your camera, you do that once, and have to trust it on a per-call basis to not turn on your camera without your explicit consent.

If you don't trust your third-party browser to respect your choice as to which websites you want to grant access to your sensitive data, you probably shouldn't be using it, or at least not grant it access to that data in turn.

Re:Apple confirms iOS 17.4 removes Home Screen web apps in t... by threeseed on Thursday February 15, 2024 @05:03PM (#39389721)
Websites today don't have access to my contacts, messages, photos etc.

And you may be happy changing the status quo to allow that but I think it is a terrifying proposition.

Re:Apple confirms iOS 17.4 removes Home Screen web apps in t... by lxgr on Thursday February 15, 2024 @07:13PM (#39391210)
How would websites get access to your contacts? Just don't grant access to your contacts to your browser, whatever it is, problem solved!

The same applies to photos. iOS even has an API to let you pick a single photo to upload/share with an app that doesn't grant any access beyond that. And for messages there isn't even an API in the iOS sandbox.

Maybe you could clarify your concern; as far as I understand it, nothing whatsoever is changing on iOS due to the DMA in this regard (and I wouldn't want it to).

Re:Apple confirms iOS 17.4 removes Home Screen web apps in t... by jwagenet on Thursday February 15, 2024 @09:36PM (#39392458)
I think the concern/problem is you might want a pwa to have access to contacts, but you don’t want to provide contact access to the entire browser in this scenario since you may not trust the browser/other websites.
Re:Apple confirms iOS 17.4 removes Home Screen web apps in t... by MichaelMug on Thursday February 15, 2024 @02:43PM (#39387537)
Could they not have created a API browser vendors could implement, and the user can select in the settings app which implementation they want to use for running PWA's? With the default implementation being whatever the user selected for their default browser?

For example Apple has `UIWebView` and `JavaScriptCore`. They could have abstracted the implementation so PWA's run in like a `UIHomeScreenWebAppView` which requires a protocol `IWebView` and `IJavaScriptEngine`.

Implementations could delegate OS integration tasks back to the operating system. For example notifications.

The technical approach and legwork is already done with React Native.

I can appreciate that Apple has put in a lot of thought into this but it seems like they are not following the spirit of the DMA laws. And I can understand why.

Re:Apple confirms iOS 17.4 removes Home Screen web apps in t... by kayodelycaon on Thursday February 15, 2024 @03:23PM (#39388230)
The issue is isolating each PWA from each other and giving permissions per site, for example, camera. Right now, a single instance of Safari is the only thing enforcing that. If you swapped Safari out for Chrome, that isolation is gone. If one PWA has camera access at the OS level, all of them have it.
Re:Apple confirms iOS 17.4 removes Home Screen web apps in t... by veeti on Thursday February 15, 2024 @03:57PM (#39388724)
Yet somehow Android and Chrome with the same sandboxed security model manages to do it just fine. Makes you wonder.
Re:Apple confirms iOS 17.4 removes Home Screen web apps in t... by jwagenet on Thursday February 15, 2024 @02:21PM (#39387209)
People want to do whatever they please on iPhone, but also expect Apple to create all the appropriate interfaces to accommodate them basically for free.
Re:Apple confirms iOS 17.4 removes Home Screen web apps in t... by robhlt on Thursday February 15, 2024 @02:38PM (#39387464)
Apple has already done that for decades with macOS and its predecessors. The OS and its programming interfaces were always just included with the hardware purchase. Occasionally they would charge for a major OS upgrade, which Apple could always bring back if they can't survive without the app store tax revenue.
Re:Apple confirms iOS 17.4 removes Home Screen web apps in t... by jwagenet on Thursday February 15, 2024 @07:42PM (#39391495)
I’ve never used macOS or previous, but I recall early OSX updates cost money, like Windows, and the dev tools also had a fee.
Re:Apple confirms iOS 17.4 removes Home Screen web apps in t... by dagmx on Thursday February 15, 2024 @10:00PM (#39392635)
That was largely due to https://en.wikipedia.org/wiki/Sarbanes%E2%80%93Oxley_Act?wpr...

New features had to be paid for due to accounting requirements.

Re:Apple confirms iOS 17.4 removes Home Screen web apps in t... by FirmwareBurner on Thursday February 15, 2024 @02:24PM (#39387247)
>basically for free

iPhone costs ~$1000, with the highest profit margins on hardware plus AppStore out of any phone maker = for free lol.

Is this astroturfing HN loves to provide Apple for free? Apple fans will go out of their way to white knightly defend a trillion dollar company who can easily afford do implement any regulatory challenge, gaslighting you for having the audacity to hold Apple accountable to a high standards, as if they're some broke 3 person start-up scraping behind the couch cushions for money, when Apple is absolutely minted with the GDP of an entire country.

Re:Apple confirms iOS 17.4 removes Home Screen web apps in t... by LazarWolf_ on Thursday February 15, 2024 @02:25PM (#39387267)
Design your own phone much?
Re:Apple confirms iOS 17.4 removes Home Screen web apps in t... by FirmwareBurner on Thursday February 15, 2024 @02:39PM (#39387471)
Did you?
Re:Apple confirms iOS 17.4 removes Home Screen web apps in t... by charcircuit on Thursday February 15, 2024 @02:25PM (#39387268)
the os updates are
Re:Apple confirms iOS 17.4 removes Home Screen web apps in t... by lxgr on Thursday February 15, 2024 @02:27PM (#39387293)
Then maybe they should charge a subscription fee for them if it's otherwise uneconomical to keep providing them.

iOS updates used to be paid in the past (due to Sarbanes-Oxley in the US)!

Re:Apple confirms iOS 17.4 removes Home Screen web apps in t... by Crosseye_Jack on Thursday February 15, 2024 @02:32PM (#39387383)
Here in the UK, updates for the first iPhone were free, but (in the beginning) the major updates for the iPod touch used to be paid for.

(Unless you downloaded the update file from Apple's CDN directly and manually updated your iPod Touch via iTunes, not that I ever did that as that would be very naughty ;-))

Re:Apple confirms iOS 17.4 removes Home Screen web apps in t... by FirmwareBurner on Thursday February 15, 2024 @02:28PM (#39387317)
They're included in the initial purchase price and the cut apple takes from customers' appstore purchases. Nothing is free.
Re:Apple confirms iOS 17.4 removes Home Screen web apps in t... by HL33tibCe7 on Thursday February 15, 2024 @02:29PM (#39387329)
On the contrary, in my experience it’s far more common that Apple haters will go out of their way to hate when it’s completely unreasonable. I can think of many such occasions in recent history.
Re:Apple confirms iOS 17.4 removes Home Screen web apps in t... by FirmwareBurner on Thursday February 15, 2024 @02:31PM (#39387375)
But what's your argument/counter-argument for this? Why is Apple right and apple "haters" wrong?

Because otherwise your comment is just another "hail Apple, fuck their critics for hating my favorite company".

[dead]
Re:Apple confirms iOS 17.4 removes Home Screen web apps in t... by FirmwareBurner on Thursday February 15, 2024 @02:43PM (#39387548)
Ever heard of averages?

The iPhone 15 starts ar MSRP 950 Euros in the EU or close to 1000 USD.

And the Pro base model starts at 1200 Euros and the Pro Max base model starts at 1440 Euros, 20% and 40% more than my Original estimation. There's also the cheaper models you can buy.

What's your point with this? Or do you just enjoy taking things super literally and spinning them into strawmen?

Re:Apple confirms iOS 17.4 removes Home Screen web apps in t... by nickthegreek on Thursday February 15, 2024 @02:50PM (#39387637)
Make whatever excuses you want for posting misinformation. I am simply stating that your facts are wrong. I didnt build the strawman, you did when you used the cost of the iphone for the basis of your post and that cost was inaccurate.
Re:Apple confirms iOS 17.4 removes Home Screen web apps in t... by FirmwareBurner on Thursday February 15, 2024 @02:55PM (#39387733)
>Make whatever excuses you want for posting misinformation

By misinformation you mean using logic and pricing information directly from Apple's German store?

The one misinformed is you my friend. Please get help. The iPhone doesn't have a single fixed price but comes in many varieties at many price points, many well above 1000 bucks some below. I just picked an average price that seemed reasonable and not super high.

Please stop breaking HN rules with your comments.

Re:Apple confirms iOS 17.4 removes Home Screen web apps in t... by jwagenet on Thursday February 15, 2024 @07:36PM (#39391441)
The customer buys the hardware and the developer pays for a license to use api, sdk or whatever to access platform features. Game consoles, windows, processors. Yea maybe you can write your own stuff, but if you want access to those features, someone has to pay somewhere (no, I don’t think the hardware fee covers those costs). Software has got to be the only space where people think development time costs nothing and everything should be free.

And I don’t get why people who don’t like the Apple way care so much. There’s an alternative that’s more open. Go build your utopia there, if the lack of barriers makes it so easy.

Re:Apple confirms iOS 17.4 removes Home Screen web apps in t... by tokenizedtoast on Friday February 16, 2024 @12:53PM (#39400495)
do you think that ~25% fees on every in app transaction ( Total is 30% but 3% is used for credit card transactions.) is maybe too much to cover these software development costs?

A counter to this would be game store sites like Steam have in 30% fees but steam doesn't have a monopoly on the games store. Apple has a monopoly on the app store.

Apple has been taking a lot of actions within the last year against the developer community: 1) Retaliations in the anti-competitive lawsuits against Apple in US (surrounding fees) : * You must request an entitlement now from apple to link to an external payment provider in app. You must still give apple a 27% even if you use external payments. * If Apple feels a lack of compliance with the entitlement program they have the right to look through financial books and bill for if they think their cut was missed.

2) Retaliations in the anti-competitive lawsuits against Apple in EU (surrounding fees) : * PWAs. PWAs were starting to become a form of protest for developer to get around Apple's closed source system. PWAs don't utilize Apple's SDKs. Sure Apple may have some points surrounding the technical inefficiencies surrounding PWAs but it is suspicious that these rules have taken place during these lawsuits.

3) Beeper * Everything going on with Beeper enforces the point that Apples wants to have a stranglehold on their monopoly

Optional 4) The insane markup of the Vision Pro relative to competitors. Making it difficult for devs to test new products.

All of these exemplify Apple's use of their monopoly on the individuals who support their ecosystem (developers). There is strong consumer demand for Apple so their is a strong incentive to develop with Apple. Being an early-stage founder myself I am finding it very difficult to convince myself that developing on Apple for proving product market fit is the way to go.

These rules are hurting the smaller developer teams who can't afford to pay these fees and can't pay for a compliance guy in the beginning to look over Apple specific polices. PWAs being canceled is just another example of Apple over-using their power to hurt the little guy.

Re:Apple confirms iOS 17.4 removes Home Screen web apps in t... by ijhuygft776 on Thursday February 15, 2024 @06:24PM (#39390726)
native apps are potentially much less secure... why don't they also remove them?