Hacker News new | ask | show | jobs
by NorwegianDude 856 days ago
I think developers need to clearly put blame on Apple for PWA not working. In apps you're not allowed to mention apple's shady behaviour when it comes to fees, but on the web you can.

Since 2016 I've had the option for users to enable push notifications, with a big red disclaimer if the user is using iOS that it does not work on an iPhone. Still, I got so so many requests from user saying they had tried with Chrome(or whatever other browser) instead, and it's still not working, not understanding that all browsers on iOS is limited in the same way because of apple.

If there are any more problems with web push on iOS I'll clearly tell the user that Apple doesn't allow the user to use it, and that they will have to ask apple to enable it, and give them contact information. If the user bought the phone expecting web push to work then they can probably return it and buy an Android phone instead if the seller can't fix web push.

1 comments

> I think developers need to clearly put blame on Apple for PWA not working.

I think that developers need to choose technologies that work on the platform they want to support, instead of blaming the platform. It is totally valid for Apple to say "if you want to develop an iOS app, use the iOS native framework".

> If the user bought the phone expecting web push to work then they can probably return it and buy an Android phone instead if the seller can't fix web push.

Who sells an iPhone saying explicitly that web push works? I guess nobody (it would make no sense). If a user bought a phone expecting to be able to use it as a surfboard, they probably can NOT return it for that reason.

I don't think there's a "should" here, it's just that as a developer, I don't like dealing with Apple and chose long ago to stop taking jobs as an iPhone app dev. I'd only do it for significant extra money. And my side projects don't go out of their way to support iPhones anymore. If Apple cleans up their act, I'll reconsider, not that my single decision sways them at all.
The surfboard analogy is silly; it’s reasonable that the user expects the iPhone to be a general computing device (since it’s a powerful computer).
I exaggerated to make my point. It's absolutely not reasonable to expect <arbitrary feature> to run on an iPhone. Otherwise I can extend it to anything. Would you say that "If the user bought the phone expecting to have root access then they can probably return it" is reasonable? If yes, just try to return your iPhone and see :-).