pusher / push-notifications-web

Beams Browser notifications
MIT License
39 stars 19 forks source link

iOS / macOS Safari Push API Support #138

Closed dgoudie closed 1 year ago

dgoudie commented 1 year ago

Hi!

What is the status of support notification delivery using W3C standards-based Web Push for iOS and macOS Safari?

Per the guidance from Apple here, it looks like the websites should move forward with adapting the W3C standard notification implementation (even though Safari on macOS supports both)

In my testing on iOS 16.4 beta, Apple did not add the old Safari-specific APIs (window.safari.pushNotification is not defined).

When playing around with the newest @pusher/push-notifications-web libraries, I ran into the following issues:

Obviously this stuff takes time to build, and these changes are pretty new on Apple's part, so this is all to be expected. I was just looking to open a discussion and share what I've found so far.

iedev1 commented 1 year ago

I just want to pop in to ask the team if there's any update on this at all? This is a massive update for PWA on iOS and we'd love to know whether this will be supported by Pusher or not.

We still get Could not add Device Interest. SDK not registered errors when using this on MacOS and iOS.

benw-pusher commented 1 year ago

At this time we are not able to commit to support for Push API support on iOS / Safari.

gbaggaley commented 1 year ago

Why is this? Firebase FCM looks like it has support for this already which we will probably have to move to as an alternative.

I've also noticed macOS Safari notifications aren't working since upgrading to Ventura. Could this be due to macOS Safari now using the Push API instead of the old Safari notification API?