Closed kerrybad closed 5 years ago
Hi Kerry,
As the documentation indicates, it is not possible to register a service worker from the APP_IMAGES.
If your business requires push notifications, you should have no trouble demanding for root access :) Or ask a DBA to drop the sw.js there for you.
Good luck.
Thank you, i have been given some access :)
Good Day,
im very excited to get test out your push notifications.
I wanted to ask how can i register my my sw.js file?,If i uploaded it to my applications shared components?
i tried .register('#APP_IMAGES.sw.js') , but i am getting an error "Service worker failed to register. DOMException"
I do not have any access to root files.
Thank you for your help in advanced.
Thanks, Kerry