jamesjohnson280 / hello-pwa Goto Github PK
View Code? Open in Web Editor NEWThe classic Hello World program as a Progressive Web App
License: MIT License
The classic Hello World program as a Progressive Web App
License: MIT License
In the sw.js
file i changed this line:
"display": "fullscreen",
But for some reason the app does not work in full screen when on desktop.
Any ideas what I'm doing wrong?
I literally followed EVERY step of the guide and used the files from here. When I try and use the code on Firefox I discover that the:
if ('serviceWorker' in navigator) {
evaluates as false.
On chrome it seems to work but:
Uncaught (in promise) TypeError: Failed to register a ServiceWorker for scope ('https://redacted.buzz/pwa/') with script ('https://redacted.buzz/pwa/sw.js'): An unknown error occurred when fetching the script. I see this error by using the "console" and adding a console.log(e)
The domain name is not really "redacted", I can provide the real one if we need it.
What is interesting is that when I look at the apache logs on the server I see NO attempt to get the sw.js file at all
solved, installed on root not in a map
Hi,
I was trying your code on github. I got the error GET manifest.json 404 error. How to resolve the path issue. It is taking path relative to github.io and not as github.io/"repo_name". Please let me know how to solve this.
--
Thanks & Regards,
Vijay
i am facing an issue if my static files do change how can i update the service worker.
你好,我克隆了一份代码,运行以后,在谷歌浏览器上不提示安装,请问是什么问题了?service worker已经注册。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.