audioserve icon indicating copy to clipboard operation
audioserve copied to clipboard

Feature Request: PWA support

Open only1thor opened this issue 3 years ago • 5 comments

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.

only1thor avatar Mar 19 '21 09:03 only1thor

I quickly looked at PWA and there are two main requirement for PWA

  1. JSON Manifest I think that should be no big deal, only thing is that some icons should be added to dist resources

  2. 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.

izderadicka avatar Mar 19 '21 17:03 izderadicka

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

izderadicka avatar Mar 19 '21 20:03 izderadicka

@KodeStar - this could be an idea for new web client?

izderadicka avatar Sep 08 '21 18:09 izderadicka

Yeah, I planned to look into it, will add it to the projects board so I don’t forget

KodeStar avatar Sep 08 '21 18:09 KodeStar

I have the app running as a PWA, https://audioserve.coderior.com/ but it does bring some of it's own issues.

  1. 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.
  2. 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.

KodeStar avatar Sep 12 '21 19:09 KodeStar

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.

izderadicka avatar Aug 07 '22 14:08 izderadicka