The sticking point is with encryption, and it took me a while to really grok how ECDH works, how mastodon splits up the payload generated by the web-push gem and how to put these together in an e2e scenario to receive and decrypt notifications. Phew.
Part 4 - Building a service to keep our supporters up to date using #aws #eventdrivenarchitecture and #webpush
Building a service to keep our supporters up to date using #aws #eventdrivenarchitecture and #webpush
So, #Safari is STILL the new IE
Habe es im Blog kurz notiert:
Some quick things I've noticed thus far.
Good stuff first:
- 👍 Firebase Messaging seems to Just Work!
- 👍 Notifications get the web app icon (not the Safari icon as currently on macOS 👎)
- 👎 The "tag" feature doesn't work (you can't update existing notifs, it just creates a new one for each push)
- 👎 Notification.close() doesn't seem to do anything (can't dismiss a notification when the user opens web app)
I didn't expect that day to come... iOS 16.4 will support #WebPush 🥳😱
This will be one big step into fully supporting #ProgressiveWebApps on all major platforms.
And lot more features all people in #WebDevelopment have waited for: https://webkit.org/blog/13966/webkit-features-in-safari-16-4/
With the release of iOS and iPadOS 16.4 beta 1 Apple finally added support for Web Push to home screen web apps and more…
iOS/iiPadOS 16.4 beta 1 更新及 Safari 16.4 beta 1 更新为添加到桌面的 Web App 新增了 Web Push 支持，包括 Push API、Notification API 及先前就有支持的 Service Workers。现在，这些 Web App 在获得用户同意之后，可以像本地 App 那样为用户发送通知消息。
#WebKit #iOS #WebPush
This is HUGE. Now the bar for why you need a native application is extremely high! You no longer need Apple’s involvement for the notification process. You no longer need to deploy to Apple’s App Store to provide basic features. Incredible. 🥳
Wow, quite a bundle of new features for web apps coming to iOS 16.4:
• Web Push API
• Badging API
• "Add to Home Screen" ability for third-party browsers (hi Chrome)
• Screen Wake Lock API
• Screen Orientation API
• Better default Home Screen icon
...and more. Great work @jensimmons and the WebKit team!
#Apple seem to be rehabilitating #WebApps somewhat (a cynic may say in time for app store competition investigations), with the beta supporting #WebPush and badging on the home screen. Still, until users have an easily signposted path to discover, compare and install these, I think they may remain pretty niche. https://mastodon.social/@bradeeoh/109875880880980751 #PWA
This is so cool😍! My article about the #NotificationTrigger API is now on @firstname.lastname@example.org!