service-worker

Service Worker not working for Mobile Web (Chrome, Firefox, IE)

你。 提交于 2020-12-06 12:14:05
问题 I set up a service worker for a static web application that needs to work on mobile phones. I'm using react/webpack2 for this application. Service Worker installs and works greatly when I open the application via desktop, but when I try to visit the application through mobile, it does not install. When SW finishes installing, it gives you an alert message ("onInstalled"); https://abo-deg.surge.sh (here is an example) https://abo-deg.surge.sh/survey/background https://github.com/strongharris

Service Worker not working for Mobile Web (Chrome, Firefox, IE)

元气小坏坏 提交于 2020-12-06 12:11:21
问题 I set up a service worker for a static web application that needs to work on mobile phones. I'm using react/webpack2 for this application. Service Worker installs and works greatly when I open the application via desktop, but when I try to visit the application through mobile, it does not install. When SW finishes installing, it gives you an alert message ("onInstalled"); https://abo-deg.surge.sh (here is an example) https://abo-deg.surge.sh/survey/background https://github.com/strongharris

Can Firefox 76 be forced to consider .localhost subdomains as Secure Context without tls?

故事扮演 提交于 2020-12-06 03:03:01
问题 We are using .localhost domains for development of our applications, and we have multiple applications living at different domains. We are at point where we need to test features requiring pages to execute in Secure Context, i.e. Service Workers and Push API. Google Chrome for a past few versions has been marking all sites coming from .localhost domain as Secure Context, allowing local, hassle-free testing of Service Workers, Push API, etc. I cannot find a way to force Firefox 76 to consider

Can Firefox 76 be forced to consider .localhost subdomains as Secure Context without tls?

倾然丶 夕夏残阳落幕 提交于 2020-12-06 02:56:21
问题 We are using .localhost domains for development of our applications, and we have multiple applications living at different domains. We are at point where we need to test features requiring pages to execute in Secure Context, i.e. Service Workers and Push API. Google Chrome for a past few versions has been marking all sites coming from .localhost domain as Secure Context, allowing local, hassle-free testing of Service Workers, Push API, etc. I cannot find a way to force Firefox 76 to consider