Re: [w3ctag/design-reviews] `handle_links` manifest field ✨ (Issue #695)

Hi @etnos 

> 1. After a PWA is installed, is it possible to change the handle_links mode? E.g., the mode is set to "all" and at some point, I want to set it to "none" or "auto".

`handle_links` should be treated as a hint or suggestion from the app to the UA. As such, it's not something that the end user needs to interact with directly. The UA may implement link handling settings for apps that the end user can control. Those settings need not correspond 1-1 with these options. 

For our first implementation, we intend to use `handle_links` to decide the initial setting for an app after install. These settings may look like: [handle link in app client directly | prompt user to handle link in app | never handle link in app].  Afterwards, the user may override this setting.

> 2. Is it a new behavior or it is possible to achieve it via SW?

This is a new behavior. There is no previous behavior that captures the same information from the app to the UA. It should not be achieved with a service worker because 1. it is a declarative API suited to the manifest, 2. it is not expected to change often or depend on other state, and 3. it is useful even when no SW is found.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3ctag/design-reviews/issues/695#issuecomment-1013542292
You are receiving this because you are subscribed to this thread.

Message ID: <w3ctag/design-reviews/issues/695/1013542292@github.com>

Received on Friday, 14 January 2022 23:34:30 UTC