Hacker News new | ask | show | jobs
WebPush for iOS – demo site and sample code to implement your own (github.com)
1 points by andreinwald 971 days ago
1 comments

Now you can send push notifications from your site to your subscribers to iPhone and iPad.

I found out that implementation is a bit different and badly cowered with documentation, so created this repo.

--- TL;DR iOS WebPush specifics:

- user is required to add your site to the Home Screen of his iPhone/iPad

- manifest.json is required to set display: standalone

- you don't need to register at apple.com to receive something like GCM_SENDER_ID

- instead, you need to generate VAPID (pair of public and private keys)