• Resolved btran110

    (@btran110)


    Hi,
    I am getting a problem for the new version 1.6 which is my webapp does not register a service worker and also User will not be prompted to Install the Web App. It works fine which the old version.
    Please help.

    Thanks

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello @btran110,

    Good day and thanks for using our plugin. As for resolving this issue I would like to know more details on

    1. Version of WordPress that you’re using
    2. PHP version and SQL version

    Looking forward.

    Hi @josevarghese

    I’m having this issue with multisite, hope this following information helps.

    The error referenced register-sq.js:5 with:
    Registration failed with SecurityError: Failed to register a ServiceWorker

    It is pulling network domain instead of site domain. The manifest-[siteid].json and sw-[siteid].js are generated with the correct information for each site.

    WP Multisite 4.9.5
    PHP 7.1.16
    MySQL 5.6.36

    I am not minifying or caching any JS. There are headers set for browsers to cache JS

    I do minify and cache CSS and HTML.

    Hope this helps, looking forward to the fix, thank you and great job on your plugin.

    EDIT:
    @btran110
    Fixed with https://github.com/SuperPWA/Super-Progressive-Web-Apps/issues/28

    Was a CORS issue from domain mapping.

    • This reply was modified 6 years, 7 months ago by aedelgod.
    • This reply was modified 6 years, 7 months ago by aedelgod.

    Hello @aedelgod,

    Good day! Thank you for using our plugin and glad to hear that the issue is resolved from GitHub.

    Hello @btran110,

    I just checked your website upon my mobile and noticed that all the features of Progressive Web Apps are working perfectly. Here’s the test report for your reference .

    Congrats your website scores 100/100 upon Lighthouse.

    Hello @btran110,

    I’m closing this thread as I got 100/100 on my tests and also due to inactivity.

    If you have any other issues, don’t hesitate to open a thread, so that we can help you more on it.

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