I've successfully built a service worker that receives push notifications following this tutorial.
And I was trying to build a chrome extension that would allow me to subcripe to the push notifications. But it seems that when the extension runs the service worker is not supported.
Service Worker Error :^( DOMException: Failed to register a ServiceWorker: The URL protocol of the current origin ('chrome-extension://dghajjpcbhcpnnkkgehjhhceemhcacoc') is not supported.
Am I missing some permissions on the manifest.js?
I followed this tutorial for the Chrome extension.