Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lack of Web Push API Support for Safari Hindering Adoption of Pusher Beams in PWAs #146

Open
jopar219 opened this issue Aug 4, 2023 · 13 comments
Labels
enhancement New feature or request

Comments

@jopar219
Copy link

jopar219 commented Aug 4, 2023

Hi there! We hope you're doing well. We wanted to bring up a concern regarding Pusher Beams and its support for W3C's Push API on Safari.

As you may know, since February of this year, iOS has introduced support for W3C's Push API. However, it seems that Pusher Beams currently offers only beta support for Safari Push Notifications, a separate api specific to Apple that requires a .p12 certificate.

We were wondering if there are any plans to add support for W3C's Push API on newer Safari versions in the future. To provide a seamless push notification experience for our users, it's essential for us to have Push API support on Safari. With other alternatives already offering support for it, we are facing a tough decision regarding the adoption of Pusher Beams.

Implementing support for W3C's Push API on Safari could make Pusher Beams a more attractive choice for developers looking for a comprehensive push notification solution. It would also save us from dealing with the complexities of the legacy .p12 certificate requirement for Safari Push Notifications.

We really value your attention to this matter and would appreciate any updates or insights you can share with us. Addressing this would undoubtedly benefit the product. Thank you!

@benw-pusher benw-pusher added the enhancement New feature or request label Aug 7, 2023
@benw-pusher
Copy link

As you have identified, Beams does not currently support web push notifications on Safari. While we do plan to add support for this to the product we don't currently have a timeframe for release. We'll update here as this changes.

This was referenced Aug 7, 2023
@RalphKemp
Copy link

In the same position here at my company. Have tested out Beams and it works well for push, but will have to move over to a different service as we require support for this.

@Developer-Mike
Copy link

Same here. It's a shame, that this essential feature is not a priority. Considering migrating to another service...

@HugoVonMemenchouser
Copy link

We would appreciate support for this as well.

@jopar219
Copy link
Author

jopar219 commented Nov 2, 2023

Are there any news regarding this feature? Is it difficult to implement? What would it require to fast track this?

@v-stickykeys
Copy link

Have moved away from pusher for same reason. Luckily with web-push this should be easy enough to roll your own. Also not clear pusher is doing anymore much more than that anyway on lower tiers. I'm setting up mine with a nice interface that you can plug a lambda service into (feel free to ping if you want to follow along/reuse).

@rnystrom
Copy link

I was really bummed to find this! We're big fans of using Pusher for websockets and we were hoping to just setup Beams and get pushes to iOS PWAs. We're going to look elsewhere for push unfortunately.

@marcallkz
Copy link

Same situation here. I have also asked about this earlier this year through a support ticket and the answer was the same. Unfortunately I'll have do switch to something else.

@JoshuaSmeda
Copy link

Disappointed to hear that this isn't a priority considering the large number of iOS and iPad devices in the wild. Unfortunately, it'll also force me to move to an alternative.

@cl0ckwork
Copy link

cl0ckwork commented Feb 19, 2024

why do the official docs say pusher supports safari? What are these docs talking about then?

I've managed to patch the push-notifications code to "make" it work on safari, and get all the way to the point where results are consistent with the docs (because the browser checks, which explicitly prevent safari usage, actually contradict the docs and are 5 years old...) and then get this error from the pusher backend service: presumably from another outdated user agent check.

edit: seems like 2.0.0-beta.2i supposed to support safari in web - but i get the following error:

Unhandled Promise Rejection: Error: Unexpected status code 400: Token error, Push service endpoint not supported. The push subscription might be from an unsupported browser

I'd be very grateful if someone could please clarify what Pusher beams supports - beta supports web? maybe? Safari on Ios should work (functionality was added last year), but doesn't? What are the docs are talking about if Safari and Safari on IoS are not supported?

@maegnes
Copy link

maegnes commented Feb 28, 2024

Does anyone have a reliable provider alternative to pusher beams that supports Notifications via Web Push API on iOS?

@DarthGigi
Copy link

Does anyone have a reliable provider alternative to pusher beams that supports Notifications via Web Push API on iOS?

I switched to Firebase Cloud Messaging (FCM). Does everything you need and has iOS Web Push Notifications API support as well

@ilkergzlkkr
Copy link

Does anyone have a reliable provider alternative to pusher beams that supports Notifications via Web Push API on iOS?

I switched to native Web Push API and storing subscriptions on my database. Pretty easy to implement!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests