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.
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.