All things Shopify and commerce
I am the developer of an app for Shopify. And at this stage I am trying to run service worker through my app, for web push. In order for me to register a service worker, I need to have access to my js file in the store root (myshop.myshopify.com/sw.js ). I understand that I can't just add this file to the root of the store, and I tried to solve this problem through the app proxy, but I was disappointed because I can't use the header service-worker-allowed: / (Shopify security policy - as far as I understood).
The question is, is there a way to register service worker correctly, or some other way? Is it possible in principle to do what I want or not? I will be very grateful for any answer.
Hello, I've encountered the same problem today, have you had any progress or any ideas on that issue?
What is the best approach to push service worker file to Storefront?
Same, did you find any solution for this problem
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024