this post was submitted on 16 Feb 2024
96 points (88.1% liked)

Programming

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

[–] fmstrat@lemmy.nowsci.com 18 points 7 months ago

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

[–] litchralee@sh.itjust.works 24 points 7 months ago (1 children)

For other people's benefit and my own:

PWA: Progressive Web App

[–] SpicyLizards@reddthat.com 14 points 7 months ago (1 children)

I was wondering... passwords with attitude?

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

Mine are pretty sassy

[–] PoY@lemmygrad.ml 13 points 7 months 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 7 months ago* (last edited 7 months 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 2 points 7 months ago

And here was I thinking only Microsoft did that.

[–] Ferk@kbin.social -3 points 7 months ago* (last edited 7 months 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 4 points 7 months ago

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.

[–] TheFerrango@lemmy.basedcount.com 8 points 7 months ago (1 children)

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

[–] parens@programming.dev 2 points 7 months ago (1 children)

Things that run in a WebView?

[–] TheFerrango@lemmy.basedcount.com 4 points 7 months ago (2 children)

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

[–] parens@programming.dev 2 points 7 months ago
[–] elbarto777@lemmy.world 2 points 7 months ago (1 children)
[–] TheFerrango@lemmy.basedcount.com 1 points 7 months ago* (last edited 7 months ago)

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.

[–] tatterdemalion@programming.dev 8 points 7 months ago (1 children)
[–] KooShnoo@programming.dev 2 points 7 months ago

Freedium.cfd

[–] some_guy@lemmy.sdf.org 5 points 7 months ago (1 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.

[–] deergon@lemmy.world 3 points 7 months ago

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

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

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

[–] haui_lemmy@lemmy.giftedmc.com 2 points 7 months ago (1 children)

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

[–] technom@programming.dev 18 points 7 months 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 5 points 7 months 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.

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

[–] parens@programming.dev 5 points 7 months ago (4 children)

Why would they be dead on Android?

[–] lengau@midwest.social 7 points 7 months ago (2 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 4 points 7 months ago

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

[–] elbarto777@lemmy.world 1 points 7 months ago

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

[–] Vincent@feddit.nl 4 points 7 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.

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

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

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

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.

[–] Carighan@lemmy.world 1 points 7 months ago (1 children)

And since Apple dictates what everyone else does

Quoting myself again for clarity.

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

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

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

[–] SmartmanApps@programming.dev 8 points 7 months ago

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

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

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

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

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

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

load more comments
view more: next ›