WebPush for iOS – demo site and sample code to implement your own (github.com) 1 points by andreinwald 2y ago ↗ HN
[–] andreinwald 2y ago ↗ 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)
1 comment
[ 2.7 ms ] story [ 26.7 ms ] threadI 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)