Hi PWA friends! I’ve recently been interested in progressive web apps, and I wanted to play with the web push notification API on iOS to see what it can do.

Among other limitations, iOS only allows notifications once the PWA is added to the homescreen (under Share menu).

Code & instructions to run (works nicely in Codespaces, no downloads required!): github.com/ducklol2/web_push_rust_example

I couldn’t find a minimal example, so I thought I’d post mine in case others want to copy or build off it. Note that the backend is in Rust, using the Axum framework and the web-push library to call the browser web push endpoints.

Anyone else using or serving a PWA?