iOS launched web push notifications a month ago with 16.5, but there has been a surprising lack of examples to try out. We built [WebPushTest.com](<a href="https://WebPushTest.com" rel="nofollow noreferrer">https://WebPushTest.com</a>) and made the code open source so more web devs can try it out and share it with their coworkers.<p>It used to be the case that an iPhone app needed to be “native” and downloaded from the App Store to utilize push notifications, but you will see that this is no longer true :)<p>As long-time HN users, we also included an option to subscribe to a feed of top Hacker News posts delivered to you via push every six hours. It makes it a fun little app instead of a boring demo!<p>Worth noting that we don't track any personal info (random UUIDs for user IDs, so not even device IDs).
The code - <a href="https://github.com/magicbell-io/webpush-test">https://github.com/magicbell-io/webpush-test</a>