iOS 16 web push notifications in 2023

“WKWebView” is Apple’s API for embedding a web browser in a native app; Discourse Hub uses WKWebView. As far as I know, today’s existing proprietary macOS Safari 15 push notifications don’t work in a WKWebView on macOS.

Apple makes some native-like features available only in the Safari app, not in a WKWebView, and sometimes not even in web pages saved to the home screen, which technically each run in a separate “Web.app” process on iOS.

We don’t yet know whether the new standard Push API will work in a WKWebView, (so we don’t know whether they’ll work in Discourse Hub), and we certainly don’t know whether Push API will work in a WKWebView on iOS, which isn’t even shipping in 2022.

But, a few more details are supposed to be available at tomorrow’s presentation.

FWIW, it’s typical for Apple Evangelists to refuse to answer further questions about native-like features on the web publicly.

Consider this question posed on Twitter:

Apple has been answering Maximiliano’s questions throughout the day, but, uh, for some reason, just this question has gone unanswered! :grimacing:

6 Likes