PWABuilder icon indicating copy to clipboard operation
PWABuilder copied to clipboard

[BUG] PWABuilder is not recognizing the service worker

Open ALPERDURUKAN opened this issue 1 year ago • 3 comments

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.

ALPERDURUKAN avatar Nov 21 '24 19:11 ALPERDURUKAN

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

jgw96 avatar Dec 09 '24 18:12 jgw96

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

Nope image

ALPERDURUKAN avatar Dec 09 '24 18:12 ALPERDURUKAN

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

CedricBonjour avatar Jan 09 '25 14:01 CedricBonjour

Hi, Last time I checked, the issue seems to be fixed in my case for the

  • "has service worker"

but the problem remains for "offline support", although this may deserve a different issue?!

Either way, many thanks for bug fix already.

CedricBonjour avatar Jul 16 '25 20:07 CedricBonjour

This is fixed this both for https://sorbana.durkn.com and https://www.nanocell-csv.com. The fix is deployed to this staging branch.

It will be rolled out to production next week.

JudahGabriel avatar Aug 27 '25 18:08 JudahGabriel