We get an email from shopify - "We’re contacting you to inform you that as of March 1st, Service workers with a root scope, relying on the Service-Worker-Allowed header, will no longer be supported."
To implement this changes, we are unable to find any solution in shopify documentation.We are using proxy for service worker to run push notifications.Example - https://example.com/apps/app-name?bid=1234&hash=2.1 forwards to the proxy URL at https://push.domain.com/sw?bid=1234&hash=2.1In this example - Sub path prefix: appsSub path: app-name
sub path is the name of our apps.
proxy URL: https://push.domain.com/sw?bid=1234&hash=2.1
On proxy URL we have set header - Service-Worker-Allowed: /