A progressive web application is a type of application software delivered through the web, built using common web technologies including HTML, CSS and JavaScript. It is intended to work on any platform that uses a standards-compliant browser, including both desktop and mobile devices. Wikipedia
I have been working months (lol) to get this stupid thing to work.
Turns out that I was editing the wrong file the whole time lol.
But, I’m glad I finally found it out and fixed it…
See that install button in the address bar?
Check it out:
It even works on google
Spoilers
Unfortunately, InfinityFree doesn't support `serviceWorker`, so I had to use another free hosting service
Hint: It’s not profreehost, heliohost, or 000webhost
Infinityfree can’t change what JavaScript you use. Service workers are on the client, so unless they read your JavaScript files and prevent you from uploading files that register service workers, you probably just did something wrong.
If the serviceWorker is sending requests to our servers very often (i.e server hammering) Then it isn’t allowed, same reason with why chat scripts aren’t allowed.