Hacker News new | ask | show | jobs
by littlecranky67 1110 days ago
> Web apps on Mac support web push, badging, and all the usual web standards implemented by WebKit, just like web apps on iOS and iPadOS.

Not a lie, but they leave out an important part: To have webpush or badges on iOS you need to "install" the web app - but since iOS PWAs block custom install buttons, the user had to know thst he has to push "Share" and "Add to home screen". To my experience, almost noone knows this or does this.

2 comments

This is a good thing. Most websites that want to send you post notifications just want to spam you. It should be very intentional.
I have never, not once, in the years since websites could ask me if they can send me notifications said “yes, please notify me”. The notification prompt usually is just a reminder I need to go turn off the setting that lets websites ask me this silly question.

Who is consenting to these? What is their deal? It makes no sense to me.

It’s the indy developer on HN who thinks that if only mean old Apple would enable this they could make millions by having a cross platform poorly performing web app without having to deal with the “App Store tax”.
Yes, unfortunately there are a lot of bad players. But you say it yourself: "websites" have asked you. Its mostly news sites that think they need to push you. There are proper web apps, that will have the "Enable notifications" button in their settings/preferences and are not spamy in any way.
A web app built with notifications as a core feature? Like conversation reminders.
> the user had to know thst he has to push "Share" and "Add to home screen".

So there has to be a tasteful user notification informing them that the site has enabled that feature in the manifest?

Look at how android does it: By some heuristic (i.e. visiting the site regularly and interacting with it), Chrome will suggest you install the App (using Chromes UI). Additionally, you can have a custom UI button on your website, that triggers the install (user interaction is required to avoid install spam).

Neither works for Safari/iOS. The only way to help the user, is to show a step-by-step tutorial how he has to navigate his iOS Safari to install. And on top of that, nothing is shared between the installed PWA and the Safari instance - always requiring the user to re-login after install. It is just poor UX.