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

Pusher Beams - Failed to register Service Worker for users on Chrome - Windows 10 #323

Open
deeshinde opened this issue Mar 5, 2024 · 2 comments

Comments

@deeshinde
Copy link

Facing issues with Pusher Beams Library. This is being seen for few users on Chrome - Windows machine.

error:
TypeError Failed to register a ServiceWorker for scope ('Our URL') with script ('URL/service-worker.js?pusherBeamsWebSDKVersion=2.0.0-beta.2'): ServiceWorker script evaluation failed

@benw-pusher
Copy link
Contributor

Can you share the code in use, including the service worker file?

@deeshinde
Copy link
Author

In service worker file , I have the following code -

importScripts("https://js.pusher.com/beams/service-worker.js");

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

No branches or pull requests

2 participants