Is there an existing issue for this?
Current Behavior
The Selkies manifest.json is incorrectly referenced in index.html
This is probably a higher level selkies base image issue, and not firefox specific, but I'm using firefox so this is where I started. Please let me know if it's more appropriate for me to report this in your docker-baseimage-selkies repo or even the selkies-project repo.
Expected Behavior
Within a web browser, with a properly configured manifest.json, the browser should offer to Install the page as an application. The current selkies index.html has the manifest.json specified in the <header> section, but according to this documentation, it should be in the <head> section.
https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps/Manifest
I tested moving the manifest.json link to the <head> section and it enables proper PWA functionality.
Steps To Reproduce
- Chrome in Android
- Browse to the firefox hosted container URL
- Click the 3 dots Settings menu, select "Add to Home screen"
- As its currently configured with the manifest.json in the <header> section, you'll get a prompt to create a home screen shortcut. Moving it to the <head> section enables Chrome to find the file and provide options to Install the app.
OR
- Chrome in Windows
- Browse to the firefox hosted container URL
- Open the developer tools
- Select the Application tab, and then the Manifest item in the left tree
- As its currently configured with the manifest.json in the <header> section, Chrome does not find the manifest.json. Moving it to the <head> section enables Chrome to find the file and provide options to Install the app.
Environment
CPU architecture
x86-64
Docker creation
Container logs
Is there an existing issue for this?
Current Behavior
The Selkies manifest.json is incorrectly referenced in index.html
This is probably a higher level selkies base image issue, and not firefox specific, but I'm using firefox so this is where I started. Please let me know if it's more appropriate for me to report this in your docker-baseimage-selkies repo or even the selkies-project repo.
Expected Behavior
Within a web browser, with a properly configured manifest.json, the browser should offer to Install the page as an application. The current selkies index.html has the manifest.json specified in the <header> section, but according to this documentation, it should be in the <head> section.
https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps/Manifest
I tested moving the manifest.json link to the <head> section and it enables proper PWA functionality.
Steps To Reproduce
OR
Environment
- OS: unraidCPU architecture
x86-64
Docker creation
Container logs