Live data from Hacker News

Push Notifications, WebXR, and better PWA support coming to iOS

firt.dev

91–92 of 92 posts

Re: Push Notifications, WebXR, and better PWA support coming to iOS

#91
post #4

Earlier quoted context omitted.

Just to add: - Getting notifications from websites I want notifications from This should not be impossible just because there are 5 trillion websites I don't want notifications from.

The problem is, that you can always "force" the user to allow you notifications or cannot proceed. And $GREEDY_MEGACORP would abuse their power and send you a "verification code" through the push notification, else you cannot process the signup etc. The good thing about the Apple Appstore, that promotional/marketing push notifications are forbidden and will get your App banned from the Appstore. Just allowing generic…

Can you though? Wouldn't it be enough to create interface that would let you view notifications of currently opened tab without giving it permission to show them through OS interface in background?

Re: Push Notifications, WebXR, and better PWA support coming to iOS

#92

Earlier quoted context omitted.

Exactly, why can't there be presets to set the trust level on websites? - Hey, it seems like you want to use our notification feature, and we are delighted. For us to be able to push you messages, you need to set out trust level to "App", to do this... I mean, nobody will open a menu and click on 3 things for a spammy website, but many people will do it for their favorite 3 sites. - Clicking on this button will trust…

Edge exactly did that. It collects feedback from users. If a site got rejected by literally every user. It will be put into the `don't even bother prompt the users` list. And start from this point. No edge user will be prompt actively by that site (There will still be a icon on the url bar. If the user really really want to enable it, he can click it himself).

FYI, that just buckets you into the "false-prompt" or "prompt-to-prompt" pattern.

eg: https://blog.hurree.co/blog/ios-push-notification-permission...

Post reply on HN