this post was submitted on 16 Feb 2024
124 points (100.0% liked)

Programming

19348 readers
63 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 !webdev@programming.dev



founded 2 years ago
MODERATORS
top 50 comments
sorted by: hot top controversial new old
[–] MyFairJulia@lemmy.world 37 points 1 year 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?

[–] fmstrat@lemmy.nowsci.com 23 points 1 year ago

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

[–] litchralee@sh.itjust.works 33 points 1 year ago (1 children)

For other people's benefit and my own:

PWA: Progressive Web App

[–] SpicyLizards@reddthat.com 16 points 1 year ago (1 children)

I was wondering... passwords with attitude?

[–] mark@programming.dev 3 points 1 year ago* (last edited 1 year ago)

Mine are pretty sassy

[–] TheFerrango@lemmy.basedcount.com 17 points 1 year ago (1 children)

Can we kill locally running web apps from the AppStore next, please?

[–] parens@programming.dev 5 points 1 year ago (1 children)

Things that run in a WebView?

[–] TheFerrango@lemmy.basedcount.com 11 points 1 year ago (2 children)

Yes, electron-based stuff and the likes are a plague

[–] elbarto777@lemmy.world 5 points 1 year ago (1 children)
[–] TheFerrango@lemmy.basedcount.com 4 points 1 year ago* (last edited 1 year ago) (1 children)

Hard to do when half the applications are built that way. Git GUIs, code/text editors, chat programs, even the next outlook is jumping on this stuff.

I get it that it’s faster to code like that and you basically get cross platform compatibility for free since you’re writing a website, but it’s a hog of resources that should have been stopped years ago.

[–] elbarto777@lemmy.world 1 points 1 year ago

All those examples you listed have alternatives..

[–] PoY@lemmygrad.ml 14 points 1 year ago (3 children)

um... what kind of person uses an acronym over and over through a long ass article without ever stating what the fuck that acronym stands for?

[–] mac@programming.dev 6 points 1 year ago* (last edited 1 year ago)

Its in the embedded tweet

Stands for progressive web app which is an app which uses web technologies. Can be both a web page and a mobile app on a phone. Can be added as an app to your phone through a browser rather than downloading it from an app store

[–] SmartmanApps@programming.dev 3 points 1 year ago

And here was I thinking only Microsoft did that.

[–] Ferk@kbin.social 2 points 1 year ago* (last edited 1 year ago) (1 children)

It's also not that uncommon of an acronym in web tech, all the first results when searching "PWA" are consistent and it's a very common way to refer to that technology. The term PWA has made the news in tech channels a few times before (like when Firefox discontinued support for PWA on desktop).

Even if they said "Progressive Web Apps" it would not have been immediatelly clear what that means for anyone who is not familiar with what PWA is. It's also not the only acronym they use in the article without explaining it (eg. "API", or "iOS" which is also an acronym on itself), it just so happens that it's likely not a well known one in this particular lemmy community where the article was posted. The author advertises himself as a writer dedicated to web technologies (PWA and Web Component in particular), so it would be silly if he has to explain what those are on every of his posts.

[–] SmartmanApps@programming.dev 5 points 1 year ago (1 children)

No, what's silly is to not follow the correct grammar of spelling out an acronym in full the first time. Microsoft does this all the time and you're left not being able to use the document because you have no idea what they're talking about, and they haven't linked to anything about it either. e.g. try Googling COM and let me know how you go with finding out what it means. You should never assume the reader knows what it is. It's gate-keeping.

[–] Lmaydev@programming.dev 3 points 1 year ago* (last edited 1 year ago)

3rd result for windows com was the Wikipedia page for component object model.

If you Google com programming Microsoft's documentation about it is the first

[–] Yaztromo@lemmy.world 10 points 1 year ago (1 children)

The title appears to be quite the reach. If Apple wanted to kill PWA’s, they would have done so worldwide. There is absolutely nothing preventing them from disabling them in the US and Canada (and much of the rest of the world) today, but they haven’t — they’re only disabling them in the EU.

[–] masterspace@lemmy.ca 33 points 1 year ago* (last edited 1 year ago) (2 children)

Arbitrarily and suddenly destroying all apps built with a certain tech stack, throughout all of Europe will have a knock on effect for that tech stack that will drive less investment in it for every single European company and every multinational that even sometimes operates there.

Apple is being an absolute piece of shit ~~if they go through with this~~, I will never buy one of their products again ~~if they do~~. They're a trillion dollar company acting like a petulent child because they were forced to be ever so slightly less monopolistic, they're acting like huge pieces of shit.

[–] technom@programming.dev 10 points 1 year ago (2 children)

They're a trillion dollar company acting like a petulent child

No. They're a trillion dollar company acting like a greedy dirty scum that they are.

load more comments (2 replies)
[–] Yaztromo@lemmy.world 5 points 1 year ago

Arbitrarily and suddenly destroying all apps built with a certain tech stack…

Except they aren’t. Sure, PWAs may be slightly more disadvantaged on iOS/iPadOS than they are now, but they haven’t been “destroyed”. And they continue to work exactly as they did with the prior iOS/iPadOS release in all the rest of the world.

Everyone seems to think Apple is playing some sort of 4D Chess to kill off PWAs — but if Apple wanted to kill off PWAs they could just disable the functionality completely globally tomorrow, and they’d likely face no repercussions for doing so. They don’t even need an excuse to do so.

I’m not claiming that Apple is acting honourably here; merely that if they actually wanted to kill PWAs it wouldn’t require some sort of Rube Goldberg machine-style planning to do it. There is no conspiracy here.

[–] deluxeparrot@thelemmy.club 9 points 1 year 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.

[–] tatterdemalion@programming.dev 9 points 1 year ago (1 children)
[–] KooShnoo@programming.dev 2 points 1 year ago

Freedium.cfd

[–] Carighan@lemmy.world 5 points 1 year 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.

[–] parens@programming.dev 7 points 1 year ago (4 children)

Why would they be dead on Android?

[–] lengau@midwest.social 8 points 1 year 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.

[–] Miaou@jlai.lu 5 points 1 year ago

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

[–] elbarto777@lemmy.world 2 points 1 year ago

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

load more comments (1 replies)
[–] Vincent@feddit.nl 4 points 1 year 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.

[–] SmartmanApps@programming.dev 5 points 1 year 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...

[–] Vincent@feddit.nl 2 points 1 year ago* (last edited 1 year ago) (3 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.

load more comments (3 replies)
[–] Matty_r@programming.dev 4 points 1 year 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.

[–] SmartmanApps@programming.dev 7 points 1 year ago

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

[–] Phanatik@kbin.social 5 points 1 year 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.

[–] SmartmanApps@programming.dev 8 points 1 year ago

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

[–] lengau@midwest.social 3 points 1 year 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.

[–] Phanatik@kbin.social 5 points 1 year 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.

[–] SmartmanApps@programming.dev 4 points 1 year 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!

[–] lengau@midwest.social 2 points 1 year 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.

load more comments (1 replies)
[–] Carighan@lemmy.world 3 points 1 year ago (1 children)

And since Apple dictates what everyone else does

Quoting myself again for clarity.

[–] parens@programming.dev 4 points 1 year 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).

[–] lascapi@jlai.lu 5 points 1 year 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

[–] haui_lemmy@lemmy.giftedmc.com 3 points 1 year ago (1 children)

Yeah, ok. So now I have the ammunition to convince my friends to avoid apple. Thanks apple. :)

[–] technom@programming.dev 22 points 1 year ago (1 children)

You think that's going to convince them? Plenty of people consider Apple as the second coming of the messiah. They would cheer if Apple dropped a bucket load of crap on their desk.

[–] haui_lemmy@lemmy.giftedmc.com 6 points 1 year ago

I agree that there are addicts and these need therapy indeed. I'm talking about the others. Those who actually think apple does a good job.

load more comments