You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When on iOS, PWA doesn't work properly on self-hosted Organice - that is, built and served from my own nginx, or bin/entrypoint.sh. (Not tested on Android yet.)
In digging a little: index.html contains /manifest.jsonhere as the manifest the PWA needs - but this manifest.json isn't present anywhere in the repository or build.
However, the script in index.html then rewrites this manifest's href to that of a JSON blob created in the script. If I use a desktop browser, the manifest then seems to be visible, e.g. if I go to Developer Tools, Application, & Manifest, the proper JSON is visible.
Does iOS refuse to run the script when installing as a PWA, or something like that? I suspect someone was aware of this, which is why https://organice.200ok.ch/manifest.json exists.
To Reproduce
Steps to reproduce the behavior:
Set up Organice to be self-hosted, e.g. with nginx.
Hodapp87
changed the title
Missing manifest.json for self-hosted Organice
Missing manifest in self-hosted Organice when installing PWA on iOS
Jan 24, 2025
Hodapp87
changed the title
Missing manifest in self-hosted Organice when installing PWA on iOS
When self-hosted, manifest is missing when installing PWA on iOS
Jan 24, 2025
Describe the bug
When on iOS, PWA doesn't work properly on self-hosted Organice - that is, built and served from my own nginx, or
bin/entrypoint.sh
. (Not tested on Android yet.)This problem goes away if:
In digging a little:
index.html
contains/manifest.json
here as the manifest the PWA needs - but thismanifest.json
isn't present anywhere in the repository or build.However, the script in
index.html
then rewrites this manifest's href to that of a JSON blob created in the script. If I use a desktop browser, the manifest then seems to be visible, e.g. if I go to Developer Tools, Application, & Manifest, the proper JSON is visible.Does iOS refuse to run the script when installing as a PWA, or something like that? I suspect someone was aware of this, which is why https://organice.200ok.ch/manifest.json exists.
To Reproduce
Steps to reproduce the behavior:
Organice will just open as a tab in the default browser - not as a PWA. iOS appears to be treating it just as a bookmark.
Expected behavior
It's expected that Organice opens as a PWA - not just a Safari tab/bookmark.
Screenshots
N/A
Desktop (please complete the following information):
N/A
Smartphone (please complete the following information):
The text was updated successfully, but these errors were encountered: