News for hackers. Stuff that matters.
Re:Write code for the web - Apple doesn't care about you, Mr... by echelon on Sunday February 04, 2024 @11:18AM (#39251502)
Google and Apple should be regulated to offer the same functionality and performance to the web. Their grip on the most important technology of the century is astounding and harmful.

Honestly first-class web mobile installs without hoops and scare walls would be the thing to strive for.

Re:Write code for the web - Apple doesn't care about you, Mr... by ben_w on Sunday February 04, 2024 @11:43AM (#39251781)
Google and Apple, both of whom make web browsers as well as OSes and could therefore cheat loads with anything like that. Of all the places to find someone conflating the companies with the operating systems Android and iOS.

But even then…

> same functionality

> Honestly first-class web mobile installs without hoops and scare walls would be the thing to strive for.

Coming to a future near you: npm install rm_minus_rf_slash

What's the old quote?

"""

Tech Enthusiasts: Everything in my house is wired to the Internet of Things! I control it all from my smartphone! My smart-house is bluetooth enabled and I can give it voice commands via alexa! I love the future!

Programmers / Engineers: The most recent piece of technology I own is a printer from 2004 and I keep a loaded gun ready to shoot it if it makes a strange noise.

"""

Except all the banks and railways require me to have a smartphone these days whether I want it or not.

Re:Write code for the web - Apple doesn't care about you, Mr... by echelon on Sunday February 04, 2024 @11:48AM (#39251842)
One word: sandboxing.
Re:Write code for the web - Apple doesn't care about you, Mr... by ben_w on Sunday February 04, 2024 @01:13PM (#39252746)
Is one of the ways they make browsers and app store apps more secure, that that is dissimilar to old school installation.
Re:Write code for the web - Apple doesn't care about you, Mr... by idle_zealot on Sunday February 04, 2024 @11:40AM (#39251740)
I'm not aware of any scare walls on iOS. On Android is a site is installable a little banner is supposed to pop up and ask if you want to install it. On iOS one has to open the site's share sheet and pick an install option nestled in there somewhere. I suppose that counts as a hoop, but how else would you surface the functionality without it being invasive and annoying for most users?

I think a more pertinent problem is that most devs don't want to distribute their apps as PWAs because Apple deletes saved data at unpredictable intervals and PWAs can't push engagement notifications as effectively as native apps.

When I switched from the Uber PWA to their native app I suddenly started getting bombarded with ads from them in my notifications.

Re:Write code for the web - Apple doesn't care about you, Mr... by echelon on Sunday February 04, 2024 @12:33PM (#39252341)
Those are downloads though the app stores. The links merely funnel you though the stores.

Native web downloads of apps are impossible on iPhone/iOS. You have to go through the app store.

Native downloads of apks are possible on Android, but not until you navigate to the hidden settings and enable them. And even then, Google scares users from installing apps this way. Nobody in practice does this. It's effectively not permitted.

Re:Write code for the web - Apple doesn't care about you, Mr... by idle_zealot on Monday February 05, 2024 @01:08PM (#39264454)
> but not until you navigate to the hidden settings and enable them

This used to be the case for older Android versions, but isn't anymore. Currently any attempt to install an APK from an app without permission to do so will pop up a missing permission warning with a deep link into the relevant settings page with a switch you can flip. Flipping the switch will initiate the installation of the APK. I can't imagine sideloading being any easier without removing the permission barrier entirely, which seems ill-advised.

Re:Write code for the web - Apple doesn't care about you, Mr... by Aerbil313 on Sunday February 04, 2024 @01:09PM (#39252705)
> devs don't want to distribute their apps as PWAs because Apple deletes saved data at unpredictable intervals

Does anybody know what the current situation in iOS looks like? I researched this recently and the information is conflicting. The OPFS data (Origin Private File System, which is the new storage API for PWAs and is supported in Safari) is supposed to not be deleted without explicit user confirmation, but what this confirmation looks like is unknown (is it just the usual delete Safari history button?) and I didn't run any experiments. However I've seen someone claiming Apple separates a website and it's installed PWA's storages. This is reinforced by the fact that I can see the storage space each PWA takes in Settings (which was oddly not updated when a PWA using OPFS used some more storage). However I just deleted that PWA but there were no special prompts, just the usual native app deletion prompt, absent of the usual phrase "Deleting this app will delete its data.", only the phrase "Do you want to delete this bookmark." was present.

Re:Write code for the web - Apple doesn't care about you, Mr... by troupo on Sunday February 04, 2024 @01:42PM (#39253034)
> Google and Apple should be regulated to offer the same functionality and performance to the web

And who is going to determine which exact functionality they both must implement?