this post was submitted on 16 Feb 2024
110 points (88.2% liked)

Programming

17364 readers
155 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 1 year ago
MODERATORS
top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 8 months ago (2 children)

They aren't killing PWAs. They're simply removing them from the home screen. Nothing about this will interfere with the ability to load and operate PWAs.

[–] [email protected] 7 points 8 months ago

Apple's implementation of other PWA standards requires an app to be opened from the home screen. A user can't access features of the app if they can't add it to the homescreen.

[–] [email protected] 8 points 8 months ago (1 children)

Except stuff like push notifications, that requires the pwa to be added to home screen.

[–] [email protected] -5 points 8 months ago

That’s the social engineering aspect of insecurity on pwas.

I’m genuinely baffled by this comment section.

[–] [email protected] 4 points 8 months ago

EU users will be able to continue accessing websites directly from their Home Screen through a bookmark with minimal impact to their functionality.
We expect this change to affect a small number of users. Still, we regret any impact this change — that was made as part of the work to comply with the DMA — may have on developers of Home Screen web apps and our users.

from: https://mashable.com/article/apple-kills-home-screen-web-apps-pwas-in-eu-dma

[–] [email protected] 9 points 8 months ago (1 children)
[–] [email protected] 2 points 8 months ago

Freedium.cfd

[–] [email protected] 39 points 8 months ago (1 children)

Apple cites security concerns for killing PWAs in europe. I mean they could‘ve made changes to the system to allow running PWAs in other browser engines by offering an API in which other applications could hook themselves into, akin to how Android did it with the web activity that is used by other apps.

But then that would mean conceding to the EU and we can‘t have that, can we?

[–] [email protected] 24 points 8 months ago

Can't harvest data from a PWA like you can an app.

[–] [email protected] 3 points 8 months ago

I understood it as a technical limitation imposed by the changes Europe are demanding. They now have to allow different browser engines, so they can't just use Safari under the hood for PWAs. They will need some UI and the technical underpinning to allow the browser engine to be selected.

[–] [email protected] -3 points 8 months ago (1 children)

No, it will kill PWAs. And since Apple dictates what everyone else does, this also automatically means PWAs are dead on Android, too. It'll probably get prevented system-side in the future no matter which browser you use, they'll find a way.

[–] [email protected] 6 points 8 months ago (4 children)

Why would they be dead on Android?

[–] [email protected] 6 points 8 months ago (3 children)

Same reason NFC payments on Android were super niche for years before Apple finally implemented it. Or why so many apps don't use Android features that would improve them because iOS doesn't offer that feature. For whatever reason, Apple has an outsized mind share and are able to use that to hold back competing platforms because people don't want the iPhone version of their apps to be less capable.

Of course, the biggest loser in all this isn't Android. It's smaller platforms that want to compete with both Android and iOS.

[–] [email protected] 2 points 8 months ago

Same reason NFC payments on Android were super niche for years before Apple finally implemented it

I'm very interested in why you think that. Do you have numbers?

The concept of a mobile wallet was invented in Kenya in 2007 with no input from Apple. That then spread to East Asia where in China, not NFC payments but QR-code payments have been a thing since 2011 and they have barely caught on in the West. There are massive developments and usage of different technologies happening outside of Western countries of which the majority are now on Android simply due to price.

Or why so many apps don’t use Android features that would improve them because iOS doesn’t offer that feature

Which features are these?

Are you an Android user? And which continent are you on? I'm guessing your views are very much centered around a personal experience in a single country or even region, but I may be wrong.

[–] [email protected] 3 points 8 months ago

But then there are other features on Android that are thriving in spite of Apple not supporting them, like app sideloading.

[–] [email protected] 5 points 8 months ago

I think this has to do with web/mobile dev and higher management usually being apple users

[–] [email protected] 3 points 8 months ago (1 children)

A big benefit is writing the app once and it working everywhere. If it only works on Android, people will just default to the tools tailored to that platform anyway.

[–] [email protected] 5 points 8 months ago (1 children)

But it wouldn't only work on Android. It would also work on Windows and Unix and any other niche operating system that can run a browser (my Blu-ray recorder has a browser in it). There's a whole world outside Apple/Android. This message brought to you by a browser running on Windows...

[–] [email protected] 1 points 8 months ago* (last edited 8 months ago) (1 children)

That's theoretically true, but in practice, the desktop experience (screen size, interaction model, etc.) is sufficiently different that adapting it to mobile to get an app-like experience is not that different from building a separate app.

[–] [email protected] 1 points 8 months ago (1 children)

It's not at all like building a separate app. All the back-end code is identical - all you have to do is make the mobile version not take up as much screen-space, and that's not much work. e.g. on desktop I use icon and text, but on mobile icon only.

[–] [email protected] 0 points 8 months ago (1 children)

Then why do you think most business are already writing a separate Android app rather than just optimising their mobile website?

But "make the mobile version not take up as much screen-space" is not as simple as simply zooming out and just hiding some icon labels. And just the fact that people interact by touch rather than with a mouse and keyboard is already a major adjustment.

Anyway, I'll leave it at this, since I feel like there's not much to gain here for me from the discussion anymore :) Cheers!

[–] [email protected] 1 points 8 months ago

why do you think most business are already writing a separate Android app

I don't think that. I know some businesses who are still writing separate apps, instead of switching to cross-platform. You'll have to ask them why they're doing that. It frustrates me no end when platform-specific bugs come up because they're running different code on each platform, each written by different people.

the fact that people interact by touch rather than with a mouse and keyboard

...makes no difference at all. Whether a user has touched a button, clicked on it, or tabbed to it and pressed enter, the same Button.Clicked event gets triggered.

[–] [email protected] 1 points 8 months ago (1 children)

And since Apple dictates what everyone else does

Quoting myself again for clarity.

[–] [email protected] 4 points 8 months ago

Hmm... OK. Not sure you're right in this instance. PWAs have been shit on iPhones for ages due to everything being forced to use Safari on that platform. Probably less people use PWAs on iPhone than on Android. Most people probably didn't even know of PWAs (as seen right in this comment section in a tech community).

[–] [email protected] 1 points 8 months ago (2 children)

Like it or not, Apple is the trend setter. Everybody feels like they need to do what Apple does. So given that, Apple kills PWAs, everyone else will surely follow.

That's normally how it goes anyway.

[–] [email protected] 7 points 8 months ago

Look for every time Apple has said "reimagined" and you'll find a feature that Android had 5 years earlier.

[–] [email protected] 5 points 8 months ago (2 children)

I don't think that's true. Android has had more features than Apple for over a decade. People forget that iPhones didn't used to have a proper file manager and the only way to put songs on them was through iTunes. iOS has been trailing behind Android in that respect while maintaining their walled garden.

[–] [email protected] 2 points 8 months ago (2 children)

That's the point though. Android has all these features, but they only suddenly become "real" to the general public when Apple makes their version of it too.

I was using Google Wallet for NFC transactions years before Apple made the same available, but as soon as they did everyone started asking if I liked the new iPhone when I paid with it.

[–] [email protected] 5 points 8 months ago

The comment I replied to suggested the opposite, that whatever decisions Apple makes, Android follows behind which isn't the case in reality.

I understand your point though. It's weird that people who use iPhones have this mentality that iPhones are at the forefront of innovation. I know some people who are aware that Apple is behind but the phone does what they require of it so they have no need to ask more.

[–] [email protected] 4 points 8 months ago (1 children)

That doesn't make them trend-setters though - that just makes them big spenders on marketing. i.e. Android wasn't following what Apple did - they'd already been doing it first!

[–] [email protected] 1 points 8 months ago (1 children)

Technologically, Apple are far behind. But they're trend setters in terms of the fact that their big marketing and outsized mind share make people want those features.

It's dumb, but that's where we are. iOS is essentially the IE6 of the mobile space at this point, holding back real advancements until Apple figures out a way to make a buck off them.

[–] [email protected] 0 points 8 months ago

The original comment was

it will kill PWAs

like if Apple STOPS doing it then everyone else will stop doing it. Like when Apple stopped having 3.5mm jacks everyone else stopped having 3.5mm jacks. Oh wait...

As I said, they're big spenders, not trend-setters.

[–] [email protected] 8 points 8 months ago

People also forget that smartphones existed before iPhones and MP3 players existed before iPods.

load more comments
view more: next ›