Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Web Install] Prevent installation if there is an existing installed app that controls the same scope #897

Open
amandabaker opened this issue Oct 21, 2024 · 1 comment
Assignees
Labels
Web Install API Declarative install for web apps from a web app.

Comments

@amandabaker
Copy link
Member

Originally mentioned here by @dmurph: #893 (comment)

I think we should consider preventing install if there is an app already installed that controls the start_url of the app, or the current document in the same-origin case. This is mostly to prevent this kind of use, which hinders the UA's ability to promote installation / know which urls belong to which app (and other problems cited in here. Then, when we solve w3c/manifest#996, devs can make sure the places they need to installed (if nested) fall outside of the outer app's scope.

I think this sounds like the right approach, and here are some initial pros/cons:

  • Pros:
    • Less likely to cause confusion around which app should open the content.
    • Aligns with the current install prompting behavior in chromium-based browsers
  • Cons:
@amandabaker amandabaker added the Web Install API Declarative install for web apps from a web app. label Oct 21, 2024
@dmurph
Copy link

dmurph commented Oct 23, 2024

I would be OK with us saying that those manual apps don't prevent installing of nested stuff / are 'last on the list' when it comes to considering who 'controls' a url. That.... may make things even more complicated lol. But if we end up having problems here with manual apps blocking install, we could explicitly exclude those.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Web Install API Declarative install for web apps from a web app.
Projects
None yet
Development

No branches or pull requests

3 participants