Hello after setup web notifications to my https site, y downloaded the sdk ( snippet.js and push-worker.js). I added script from snipped and under root y place the push-worker.js. following all steps.
When i reloaded the site and i got this javascript error : Uncaught ReferenceError: importScripts is not defined on push-worker.js line 2. also Opt-in confirmation is not displayed, nothing happens!!.
It seems the worker is register i on Chrome and also i have last Firefox version both of thems accepts services worker notifications.
Any clue to solve this?
Comments
2 comments