News for hackers. Stuff that matters.
Re:It’s Official, Apple Kills Web Apps in the EU by p_l on Saturday February 17, 2024 @06:55AM (#39408649)
I find PWAs great for all those little used or temporary apps.

I have a bunch of specialized calculators installed as PWAs - they work great for the purposes.

Similarly, there's no reason a conference should have a native app that will only pollute my system over time - PWAs are ideal for once-only events that aren't going to reuse the app for next edition.

Re:It’s Official, Apple Kills Web Apps in the EU by palata on Saturday February 17, 2024 @07:59AM (#39409046)
> temporary apps

Can you not install a native app one day, and uninstall it the next day? Or does it not count as "temporary"?

Or are PWAs uninstalling automatically somehow?

Re:It’s Official, Apple Kills Web Apps in the EU by szasamasa on Saturday February 17, 2024 @08:19AM (#39409170)
I think what was meant is lightweight.

Of course a web app can be heavyweight or lightweight just as a native app. Still in a sense that smaller companies might publish smaller apps as web apps to have only one codebase justifies a web app niche for lightweight apps.

Re:It’s Official, Apple Kills Web Apps in the EU by p_l on Saturday February 17, 2024 @05:08PM (#39413999)
Lightweight in interaction pattern and size on the device. Yes, they can load quite a lot of stuff in service worker etc, but it's not the same as coming all at once with everything in application archive.
Re:It’s Official, Apple Kills Web Apps in the EU by p_l on Saturday February 17, 2024 @08:39AM (#39409296)
Native apps have tendency to linger more because of how auto update mechanisms etc will reinstall them after you forgot about them.

They have also way more permissions and ways to be exploited against you.

Additionally, it's the heavyweight process of installing but also distributing etc of native apps Vs PWAs

Re:It’s Official, Apple Kills Web Apps in the EU by wiseowise on Saturday February 17, 2024 @08:50AM (#39409392)
> Can you not install a native app one day, and uninstall it the next day? Or does it not count as "temporary"?

"Don't you guys have phones?"

> Or are PWAs uninstalling automatically somehow?

They don't weigh 100MBs. I feel extremely privileged to have access to super fast networks, but it doesn't mean that lazy developers get right to hog it all.

Re:It’s Official, Apple Kills Web Apps in the EU by palata on Saturday February 17, 2024 @09:17AM (#39409594)
If you can't make a native app that doesn't weigh 100MBs, then you may need to question your work.
Re:It’s Official, Apple Kills Web Apps in the EU by wiseowise on Saturday February 17, 2024 @09:34AM (#39409738)
You want me to make other developers make their apps less than 100MBs?
Re:It’s Official, Apple Kills Web Apps in the EU by szasamasa on Saturday February 17, 2024 @10:11AM (#39410107)
I agree that the main difference is developer skill, not whether an app is native or website.

One little advantage for web apps: the app (js code) can be downloaded just in time (not that 99,9999% ever make use of this).

If you have a game with 100 levels where a map of one level is 1mb, and 50% of visitors do not like your app and leave at the first level, they may have downloaded some fix code and 1mb, but 99mb stay on server...

Js has modules and dynamic imports for quite some time. Even app logic can be built with dynamic loading in mind.

Again, not that a news site like cnn will not make 300 request and 20mb download on first visit, showing one image and less than 1kb text :) Just checked.

A web app, in theory, is perfect for dynamically loading things but not inherently more lightweight. As always, it depends. On the task, on the programmer.

Re:It’s Official, Apple Kills Web Apps in the EU by palata on Saturday February 17, 2024 @09:43AM (#39409838)
My point is that if you write a native app and can't make it smaller than 100s of MB, then you're maybe not a really good mobile dev.

Are you implying that web developers are better than mobile developers? Because let me tell you that there are plenty of bad apps on both sides. It's not like PWAs are solving the problem that most software is extremely bad.

On the contrary, cross-platform frameworks often lower the bar.