All things Shopify and commerce
I'm facing a problem while trying to implement web push notifications for my Shopify store using the Firebase Cloud Messaging Service. In order to enable this feature, I need to upload the 'Service-worker.js' file to the root directory. However, I'm encountering difficulties in placing the file in the desired location. Has anyone successfully integrated web push notifications on Shopify and managed to upload the 'Service-worker.js' file to the root directory? Any insights or guidance on overcoming this issue would be greatly appreciated!
I am not getting any answer. kindly do assist me.
hey Etersongray,
you can use app proxy or can use shopify CDN directly for giving a path for your service worker to the online store, after that you need to register that service worker to root path using navigator in JS script , for reference check this .
hope this will help you..
By 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, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024