Can I register my sw.js with workbox and use webpushr’s push feature properly if I follow the setup below?
CC的部落格
hexo-webpushr-notification
workbox-build.js
sw-workbox.js
Sorry for misguiding you. If you are using function, please use the following format for disabling registration of service worker:
init
webpushr('init','YOUR_KEY_HERE','none');
The following format if you use function:
setup
webpushr('setup',{'key':'YOUR_KEY_HERE','sw':'none'});
Both functions are supported by our JS.