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] Alternative: Install URL Protocol #822

Open
DanielHerr opened this issue May 26, 2024 · 0 comments
Open

[Web Install] Alternative: Install URL Protocol #822

DanielHerr opened this issue May 26, 2024 · 0 comments
Assignees
Labels
Web Install API Declarative install for web apps from a web app.

Comments

@DanielHerr
Copy link

Google has recently announced a solution coming soon exclusively to Chrome OS utilizing installation links to https://apps.chrome/getit/[randomlygeneratedid]. Presumably it would involve some process of the developer generating a unique URL pointing to a manifest.

https://youtu.be/KFeuEMAaKfM?t=784

@Snugug

As a more standardizable alternative, third party web apps could trigger the installation dialog by simply linking to their manifest with a custom protocol, such as
web-install://example.com/manifest

The alternative mentioned in the explainer of an anchor element install attribute is less flexible because it would preclude the possibility of the user navigating to the installation URL directly, for example from a native messaging app.

web-install protocol URLs could also reduce security and privacy concerns compared to the imperative API design. A web app store could style a web-install link as a traditional install button, and the core install functionality would work without the need for any permission. However there would still need to be an API to observe the installation state in order to provide the appropriate UI affordance.

@DanielHerr DanielHerr added the Web Install API Declarative install for web apps from a web app. label May 26, 2024
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

2 participants