WebPush for iOS – demo site and sample code to implement your own Posted by andreinwald on Friday October 27, 2023 @09:05AM from the github.com dept. https://github.com/andreinwald/webpush-ios-example ( 1 comment | on HN )
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)