• For debugging purposes in a personal project, I tried the following steps:

    1. Install the SuperPWA plugin
    2. Configure the plugin
    3. Check if it works correctly in my environment
    4. Disable or remove the SuperPWA plugin

    But I realized that when I disabled or removed the plugin the SuperPWA Service Worker still works on the client side.

    Am I doing something wrong?`
    Thanks

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author SuperPWA

    (@superpwa)

    Can you please share the URL of your website? So that we will look into it and get back to you shortly.

    Thread Starter lanzoninicola

    (@lanzoninicola)

    Dear Support,
    sorry for the delay in responding.

    Here is the URL for the test: https://demo1.lanzoninicola.com.br/

    The SuperPWA plugin is now disabled and if you try to connect with multiple browsers anonymously the service worker is detected despite the disabling (certainly with errors as I guess some needed resources are absent).

    In mobile browsing it does not ask me to download the app.

    In the following link I saved various screenshots (browser network tab, application tab, console log tab) (it’s a folder in my Google Drive that I shared for you): https://drive.google.com/drive/folders/1woCmQa8PcuIuWkLbBnIFRf3bwoTaNB9J?usp=sharing

    What is the expected behavior?
    In the case of deactivation or elimination I would expect that the resources connected to the plugin are no longer available to the system.

    I would appreciate your support on this case.
    Thanks

    Plugin Author SuperPWA

    (@superpwa)

    Thanks for sharing it. We will check and get back to you shortly.

    Plugin Author SuperPWA

    (@superpwa)

    Extremely Sorry for the delay in getting back. We inspected your site but the service worker is not appeasring now at our end. Can you please cross-check it once and let me know if it still persists? So that we will assist you accordingly to resolve your issue.

    Thread Starter lanzoninicola

    (@lanzoninicola)

    Dear Support,

    Yes, I tried it now and the service worker disappeared.

    So, I did a new test today, I enabled and disabled the plugin one more time, the plugin is now disabled and now the service worker is still running (but the manifest tag is not present).

    My question is, based on your experience with this topic, do you know how long the service worker still persists in the browser despite the fact that a manifest file is not present?

    The question is related to a new complex plugin I have to develop for a client, I need to be sure that the new changes I make to the plugin will spread to the clients and in some cases the fact that the service worker is the one responding to the client requests and not the server gives me a bit of a chill. ??

    Thanks

    • This reply was modified 3 years, 3 months ago by lanzoninicola.
    Plugin Author SuperPWA

    (@superpwa)

    Can you please check it once by clearing all caches once and let us know back with a response?

    Thread Starter lanzoninicola

    (@lanzoninicola)

    Steps done:
    1. I re-enabled the plugin (because the Service Worker was disappeared in the browser)
    2. I accessed to the site (the Service Worker was installed)
    3. I disabled the plugin
    4. I cleared all the caches (server and client caches)

    Result:
    The Service Worker still works on the browser

    If you want I can grant you access to the site to test.

    P.S.: It is obvious that if I access the site with another browser or in incognito mode, the service worker is not installed.

    • This reply was modified 3 years, 3 months ago by lanzoninicola.
    Plugin Author SuperPWA

    (@superpwa)

    Can you please clear the cookies and cache both once? And do let me know once if is it still occurring. So that we will assist you accordingly to resolve your issue.

    Thread Starter lanzoninicola

    (@lanzoninicola)

    Guys,

    Sorry, but I didn’t have the time to test it.

    I planned to do it this week.

    I will reply you when I have some feedback.
    Thanks

    Plugin Author SuperPWA

    (@superpwa)

    Sure, Let us know back soon.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Removing/Unregister Service Worker’ is closed to new replies.