News for hackers. Stuff that matters.
Re:Publish your PWA to the iOS App Store by adam12 on Friday October 29, 2021 @07:26PM (#29044622)
> Overall, I think PWA Builder is off to a good start, but they need a lot more work to be viable.

I disagree. Apple needs to improve their support for PWAs, so that PWABuilder becomes obsolete.

Re:Publish your PWA to the iOS App Store by MBCook on Friday October 29, 2021 @09:35PM (#29045272)
I’ve seen people on HN and elsewhere express the “Safari needs to better support PWAs” line for many years.

I’ve never seen anyone explain to me why, as an iOS user, this is a good thing of preferable to a native app.

I’ve seen lots of pro-developer arguments. And anti-Apple’s tight control arguments.

But no one has ever explained to me why as a user I should want a PWA that isn’t some form of the arguments above.

Re:Publish your PWA to the iOS App Store by snugghash on Saturday October 30, 2021 @01:59AM (#29046358)
I think you're forgetting an important stakeholder here: humanity. We as a unit need to do things in an efficient way so we can save our limited resources for other, more important things.

Developers and their time matters more for the above since they're a smaller, minority population whose services are disproportionately necessary as opposed to users (who are more replaceable).

From purely a self-centered user's point of view, it doesn't matter, and might even be a negative since they don't get Apple's high-touch review. But it's not like Apple cares all that much about the opinions or user experience of the user either. One positive I can think of is more diversity and availability, there are just many more PWAs available. Another is time saved - if a user can start using your PWA in a couple seconds instead of painfully installing the app over a minute, then over a billion users you've saved very significant time.

I would even argue this sort of time saving might cause "natural" selection.

Re:Publish your PWA to the iOS App Store by dmitriid on Saturday October 30, 2021 @03:54AM (#29046909)
> We as a unit need to do things in an efficient way

Then you want native apps, not websites.

Re:Publish your PWA to the iOS App Store by SahAssar on Saturday October 30, 2021 @12:21PM (#29049965)
It's not more efficient to build equivalent functionality for iOS, macOS, android, windows and several linux distros when a web app could solve the actual problem for all of them and allow users to pick different os'es for different devices.
Re:Publish your PWA to the iOS App Store by dmitriid on Saturday October 30, 2021 @02:11PM (#29050978)
> It's not more efficient to build equivalent functionality for

It's significantly more efficient for the end user: fewer resources consumed on a few billion devices vs. a few dozen devs building separate apps.

Re:Publish your PWA to the iOS App Store by SahAssar on Saturday October 30, 2021 @03:20PM (#29051554)
For a basic app, well built for both platforms there should not be much difference. A web app also grants significantly more consumer freedom of choice.
Re:Publish your PWA to the iOS App Store by dmitriid on Saturday October 30, 2021 @03:26PM (#29051596)
> For a basic app, well built for both platforms there should not be much difference.

Ah yes, the elusive unicorn of a "well built basic app"

> web app also grants significantly more consumer freedom of choice.

Literally nothing in this conversation up to this point mentioned consumer freedom and choice.

What about consumer freedom and choice not to approach the heat death of universe through the use of websites-as-apps (on of the most inefficient ways to make apps)?

Re:Publish your PWA to the iOS App Store by streptomycin on Friday October 29, 2021 @11:20PM (#29045720)
Because you don't always get a choice. Not all developers have the resources to make special UIs for iOS/Android/Windows/Mac/Linux. Sometimes it's either PWA or nothing. (Well, I know there are other cross platform technologies, but IMHO they're all even worse than PWAs.)

I have an app like that... I make it by myself, and I have no desire to make 5 different GUIs. And yet thousands of people on iOS use it as a PWA. That seems pretty pro-user.

The downside is, my app performs worse in Safari than any other browser, so these iOS folks with high end iPhones are getting about the same experience as Android users with $100 phones. I bet I would have even more iOS users if Apple let them use a better web browser :)

Re:Publish your PWA to the iOS App Store by echelon on Saturday October 30, 2021 @12:27AM (#29045975)
We, as technologists, shouldn't have gotten herded like cattle into the abusive iOS ecosystem. It's extortion.

Many of us hate iOS, Apple's taxation, and Apple's asinine rules with a burning passion. But we have no choice but to develop for the OS that 50% of Americans choose. It sucks.

It's as if AOL won and we had to build what Time Warner wanted and had to pay 30% of our revenues.

It's as if we're living in a Steve Baller hellscape, but everyone worships it because it was from the other Steve.

The modern tech ecosystem sucks.

Re:Publish your PWA to the iOS App Store by Tarks on Saturday October 30, 2021 @07:20AM (#29047910)
A lot of young companies are hindered by the pain and overhead of developing and supporting multiple native apps (including patching, tracking & resolving separate bugs etc), spending their precious resources on solved problems rather than user-centric things like better understanding the users by rapidly improving the app and getting feedback etc.

Picture a maybe-for-legal-reasons-theoretical app that needs to be supported on android and iOS plus would massively benefit from the ability to preview the mobile app in a supporting Web portal.

PWA gives us :

- A unified codebase across 2 apps and a Web portal (same project produces the ios, Android and web builds, reuse of css styles, UI components etc)

- Significant reduction in effort developing and maintaining 3ish separate codebases for the same functionality (not quite 3x reduction, there are platform specific issues you have to resolve but still really great).

- Way easier time resourcing the project, one skillet for the 3 frontends and the team can swarm to the required work (This was amazing in the current high demand market)

- Access to the huge array of existing libraries and UI components

For larger more established companies then sure go native. But for companies that have to efficiently use capital, any money spent basically building the same thing twice is money not invested in further understanding the user's needs and improving their experience.

Re:Publish your PWA to the iOS App Store by busymom0 on Saturday October 30, 2021 @04:23AM (#29047056)
I am an iOS and Android dev but I so agree that Safari needs better support for PWAs. App Store apps are dependant on the review teams approving your app (plus the additional delay in the review process of a day or so). Websites don't have this problem and anyone can access pretty much any website without any gatekeeper.
Re:Publish your PWA to the iOS App Store by ccouzens on Saturday October 30, 2021 @04:11AM (#29047002)
With a web app you're able to use the same app on your laptop. And it doesn't lock you in to having to buy an iPhone for your next phone.
Re:Publish your PWA to the iOS App Store by tata71 on Saturday October 30, 2021 @12:49AM (#29046063)
Spotify and Pax PWAs are great case studies on what the users want winning out.
Re:Publish your PWA to the iOS App Store by bsagdiyev on Saturday October 30, 2021 @07:29AM (#29047952)
The Spotify PWA is a pile of hot garbage, so no thank you.
Re:Publish your PWA to the iOS App Store by tata71 on Saturday October 30, 2021 @10:01AM (#29048821)
...you're not trying to use it in Safari, are you?
Re:Publish your PWA to the iOS App Store by srcreigh on Friday October 29, 2021 @08:12PM (#29044902)
This is tantamount to giving away their App Store revenue cut... so probably won't happen
Re:Publish your PWA to the iOS App Store by scarface74 on Friday October 29, 2021 @09:43PM (#29045300)
You mean the App Store revenue that they already don’t get from free apps?

The typical non game application is mostly just a front end to services where there is no money being directly charged through the website/app anyway.

It came out in the Epic Trial that 70-80% of App Store revenue comes from games. Those would never be PWAs anyway.

Re:Publish your PWA to the iOS App Store by toastal on Friday October 29, 2021 @09:08PM (#29045159)
The biggest companies and most performance sensitive application would still be built native. My biggest concern is how a CRUD app from a small company has no way to release a proper PWA on iOS with its handicapped support.

With one of my current contract, we have 2 people coding and ended up having to create a separate iOS app because there is no Notification support. We abandoned our proof-of-concept PWA because we had like 10% Android users and putting in the maintenance effort was not worth it. Without Android support, after a few months all Android users decided to ‘upgrade’ their phones to iOS devices.

Is the the future we want? Do we want to be forced into walled gardens and implicitly guiding users into it? If your team is small should you be forced into one specific platform or should your mostly-CRUD app be viably built for a cross-platform solution like PWAs which covers the major platforms and the niche ones like Linux phones.

Re:Publish your PWA to the iOS App Store by scarface74 on Friday October 29, 2021 @09:46PM (#29045311)
As opposed to being forced to use web apps? Every website without fail that ever wanted me to allow push notifications did it just so they could spam me.

Do I want a future with crummy PWAs instead of applications when appropriate? I want that about as much as I want Electron apps.

Re:Publish your PWA to the iOS App Store by depressedpanda on Saturday October 30, 2021 @03:10AM (#29046707)
Web apps provide stronger sandboxing, and protect the user more. There's a reason that Twitter and Reddit nag you about "installing their app" whenever you visit them in a mobile browser.

> Every website without fail that ever wanted me to allow push notifications did it just so they could spam me.

I think this is mostly due to iOS/Safari not supporting notifications. The more serious actors who want to provide actual value to the users have been strong armed by Apple to create a native mobile app. Conversely, if the only browser allowed on iOS actually supported push notifications, you would see more legitimate prompts for using the tech.

Re:Publish your PWA to the iOS App Store by tata71 on Saturday October 30, 2021 @12:51AM (#29046075)
PWAs have been seen as crappy for the same reason WordPress sites have been — lowest barrier to entry for hackjob teams!

Now, with installation of PWAs, it'll become the same as the "apps" of old, just without a store in between.

PWA manifests etc