audioserve
audioserve copied to clipboard
Feature Request: PWA support
It would be great if the page also "exposed" itself as a PWA, so that it could be added as an "app" in IOS, and Android.
I quickly looked at PWA and there are two main requirement for PWA
-
JSON Manifest I think that should be no big deal, only thing is that some icons should be added to dist resources
-
PWA should load all it's resources via Service Workers This is much more problematic - It would probably require bit of redesign of web client. Not sure if
For now I'm not planing to dive into this.
Looks like people are just using
https://www.pwabuilder.com
Inspiration : https://github.com/robinbakker/1tuner https://github.com/iondrimba/pwa-music-player https://github.com/arma7x/pwa-audio-player
@KodeStar - this could be an idea for new web client?
Yeah, I planned to look into it, will add it to the projects board so I don’t forget
I have the app running as a PWA, https://audioserve.coderior.com/ but it does bring some of it's own issues.
- A PWA must run on https, which means the server it connects to must also run on https, I've tried running
--ssl-key /audioserve/ssl/audioserve.p12 --ssl-key-password mypass
on the docker install but chrome won't let me connect to it whereas safari is less picky. Unfortunately safari on MacOS doesn't allow you to install a PWA. - PWA's on IOS are currently a bit broken where audio is concerned - https://bugs.webkit.org/show_bug.cgi?id=198277 - but hopefully that will be fixed at some point, though running the app not as a PWA should work.
New web client is PWA and is now default client. As mentioned above it should be served through trusted https to enable "progressive" features like Service Worker and caching. But as recommended by PWA guidelines, basic functionality is available without Service Worker and secure context.