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

Safari Support #142

Closed
cl0ckwork opened this issue Jun 28, 2023 · 3 comments
Closed

Safari Support #142

cl0ckwork opened this issue Jun 28, 2023 · 3 comments
Labels
duplicate This issue or pull request already exists enhancement New feature or request

Comments

@cl0ckwork
Copy link

I've followed the walkthrough here to setup certificates, ive also installed the 2.0.1 sdk, and I see the following issue in safari on the local app.

[Error] Unhandled Promise Rejection: SecurityError: Script http://localhost:3000/service-worker.js?pusherBeamsWebSDKVersion=2.0.1 load failed

this works fine on Chrome via localhost - I've looked around and can't seem to find anything obvious, is there something i am missing? also, is this correct? i thought safari would be supported, based on the docs (referenced above)

const isSupported = isChrome || isOpera || isFirefox || isEdge;

seeing this locally as well
image

@ghost
Copy link

ghost commented Jun 29, 2023

You have to install 2.0.0-beta.2 for working push notifications in safari desktop. Mobile safari is not yet supported by beams.
Also check the allowed host.

@benw-pusher
Copy link

@b6oh is correct, at this time we don't support web push on Safari / iOS and you would need to use the beta version of the library for native Safari notifications.

@benw-pusher benw-pusher added enhancement New feature or request duplicate This issue or pull request already exists labels Aug 7, 2023
@benw-pusher
Copy link

We will use #146 to keep track of this request

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

No branches or pull requests

2 participants