Skip to content

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

Open
@amandabaker

Description

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:

Metadata

Assignees

Labels

Web Install APIDeclarative install for web apps from a web app.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions