• Resolved remida

    (@remida)


    Hi,

    I got an issue with the service worker, which when i go to the settings seems to have been generated. However when i check with lighthouse, no service worker are being registered. Any idea of where this issue could come from ?

    Many thanks

    • This topic was modified 6 years, 8 months ago by remida.

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hello @remida

    Good day and thanks for using SuperPWA.

    First of all upon my quick look, I noticed the you’ve created a manifest earlier (called manifest.json ) and forget to remove the code from the header after deleting the file.

    Can you please remove this code from the header and test it again on Lighthouse?
    <link rel="manifest" href="manifest.json">

    Looking forward.

    Thread Starter remida

    (@remida)

    @josevarghese

    Thank you for you quick response.
    I just removed it. We are currently A/B testing two theme, so i guess you ended up on the first old theme, cause it was already removed from the second one.

    Anyway, after further research, even though on the plugin setting it is stated that the service worker have been generated, i can’t manage to find it either in my plugin folder or on my wordpress root. ( i found the superPWA manifest.json though ). I tried to create the missing files and call on the footer just to test but i still got the same issue.

    By the way, i tried to uninstall and re-install the plugin, but i didn’t got the first installation set-up as i used to during the first installation from last week. I used to have a file permission problem with my server that i solved today. So i thought that maybe the issue could have come from that.

    Thank you ??

    Thanks for removing the code. Can you please deactivate OneSignal plugin for sometime and let me know.

    Thread Starter remida

    (@remida)

    okay, just desactivated it

    Thanks! Seems like a script within your website is blocking the registration of Service Worker. You can now reactivate the OneSignal.

    We’ll update you once we find out that script which is blocking.

    Thread Starter remida

    (@remida)

    Okay thank you very much.
    Continuing the research on my side

    Thread Starter remida

    (@remida)

    Update : So i made many test with scripts and plugin, didn’t found the issue. So for now i just re-implemented the PWA without the plugin which is working well.
    I’ll keep in touch when i test the plugin again if i find any solution.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Does not register a service worker’ is closed to new replies.