I merged code to add a manifest.json yesterday. Could you add a screenshot of the prompt you got to the GitHub issue?
FWIW, I thought this was a nice-to-have option that would show up when bookmarking or otherwise in response to a deliberate user action. I’d prefer it not interrupt people like this. Lobsters is a nice web forum and I’m happy to make it convenient for folks who’d like it on their home screen, but I didn’t plan to promote and support it as a mobile app.
I found some screenshots and they’re obnoxious. I can’t find anything in the spec, w3c repo, or MDN writeup to configure or even hint the browser not to do that. I’ve removed the manifest.json and it won’t return while it’ll cause intrusive popups. Thanks for reporting the bad behavior.
The plot thickens! That seems to have been removed from the standard, which is odd given that MDN is dated well after the removal. CanIUse has a number of items for beforeinstallprompt. This PWA feature looks really experimental/immature, maybe we just want to punt a couple years until there’s a clear path to good cross-browser UI.
In any case, we don’t serve js to logged-out users so even if beforeinstallprompt was added back somewhere I don’t see, reimplementation will have to add a login check around the meta tag.
otherwise in response to a deliberate user action.
IIRC iOS Safari never asks users to add apps to home screen, but the presence of manifest.json makes it behave as a PWA and not just a bookmark (screenshot).
If there’s anything to indicate the UI is likely to be stable this way, yeah, I’m fine with that. Seeing how much this feature differs between browsers makes me hesitant to implement it, though. I don’t recognize any of the contributors to discuss expectations.
I merged code to add a manifest.json yesterday. Could you add a screenshot of the prompt you got to the GitHub issue?
FWIW, I thought this was a nice-to-have option that would show up when bookmarking or otherwise in response to a deliberate user action. I’d prefer it not interrupt people like this. Lobsters is a nice web forum and I’m happy to make it convenient for folks who’d like it on their home screen, but I didn’t plan to promote and support it as a mobile app.
I found some screenshots and they’re obnoxious. I can’t find anything in the spec, w3c repo, or MDN writeup to configure or even hint the browser not to do that. I’ve removed the
manifest.jsonand it won’t return while it’ll cause intrusive popups. Thanks for reporting the bad behavior.on chromium-based browsers you can suppress the prompt: https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps/How_to/Trigger_install_prompt#listening_for_beforeinstallprompt
The plot thickens! That seems to have been removed from the standard, which is odd given that MDN is dated well after the removal. CanIUse has a number of items for beforeinstallprompt. This PWA feature looks really experimental/immature, maybe we just want to punt a couple years until there’s a clear path to good cross-browser UI.
In any case, we don’t serve js to logged-out users so even if
beforeinstallpromptwas added back somewhere I don’t see, reimplementation will have to add a login check around themetatag.If we could re-instate the manifest file with the suppression prompt enabled it would be sweet.
IIRC iOS Safari never asks users to add apps to home screen, but the presence of
manifest.jsonmakes it behave as a PWA and not just a bookmark (screenshot).Would it be possible to conditionally deliver PWA manifests to only safari users?
If there’s anything to indicate the UI is likely to be stable this way, yeah, I’m fine with that. Seeing how much this feature differs between browsers makes me hesitant to implement it, though. I don’t recognize any of the contributors to discuss expectations.