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

[BUG] PWABuilder is not recognizing the service worker #4847

Open
ALPERDURUKAN opened this issue Nov 21, 2024 · 3 comments
Open

[BUG] PWABuilder is not recognizing the service worker #4847

ALPERDURUKAN opened this issue Nov 21, 2024 · 3 comments
Labels
bug 🐛 service-worker-detection Bugs and enhancements related to service worker detection

Comments

@ALPERDURUKAN
Copy link

ALPERDURUKAN commented Nov 21, 2024

What happened?

Describe the bug
PWABuilder is not recognizing the service worker running in my web app: https://sorbana.durkn.com/

URL to app
https://sorbana.durkn.com/
Please see the screenshot of the service worker being detected in the developer console:
resim_2024-11-21_221741658

How do we reproduce the behavior?

Steps to reproduce the behavior:
Navigate to https://www.pwabuilder.com/reportcard?site=https://sorbana.durkn.com/

What do you expect to happen?

The service worker is detected in Edge in private mode.

What environment were you using?

OS: Windows 11
Browser: Edge (Also reproduces in Firefox, Chrome and Opera)
Browser Version [Version 133.0.2970.0 ]
Please resolve this issue, as it is impacting the shipment of the web app.

Additional context

Please resolve this issue, as I am stuck at this stage.

@jgw96
Copy link
Contributor

jgw96 commented Dec 9, 2024

Hey! Are you using Widgets in this PWA by chance?

@ALPERDURUKAN
Copy link
Author

Hey! Are you using Widgets in this PWA by chance?

Nope
image

@CedricBonjour
Copy link

CedricBonjour commented Jan 9, 2025

Having similer issue issue for my PWA Nanocell-csv

https://www.pwabuilder.com/reportcard?site=https://www.nanocell-csv.com/

image

As for @ALPERDURUKAN , the service worker is detected fine in the developer console.

I've been trying out a few things to make sure the service worker is accessible without any success.
It is worth noting that it is not at the url root level and it is not named sw.js but the documentation mentions examples of this so I assume it is not the problem.

I also joined the discord channel where I found more people having the same issue in the #help-wanted channel

All the source code is available here if its of any help :

https://github.com/CedricBonjour/nanocell-csv

@jgw96 jgw96 added service-worker-detection Bugs and enhancements related to service worker detection and removed needs triage 🔍 needs attention 👋 labels Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 service-worker-detection Bugs and enhancements related to service worker detection
Projects
None yet
Development

No branches or pull requests

3 participants