get-installed-related-apps icon indicating copy to clipboard operation
get-installed-related-apps copied to clipboard

what does the `relation` field do to link a webapp with and out-of-scope domain?

Open diekus opened this issue 1 year ago • 2 comments

Hola. According to the documentation in web.dev, to check out of scope for a PWA there should be an assetlinks.json file as described here. What is not clear to me is what does the relation field have to do in the out of scope scenario, is it required and if so what is the possible values in this case to link an out of scope domain to the origin of the PWA.

I'm trying to fix this for desktop platforms, but there doesn't seem to be any documentation of what does that value do.

// Served from https://app.example.com/.well-known/assetlinks.json [ { "relation": ["delegate_permission/common.query_webapk"], "target": { "namespace": "web", "site": "https://www.example.com/manifest.json" } } ]

diekus avatar Jul 07 '23 15:07 diekus

friendly ping @rayankans @petele @tomayac

diekus avatar Jul 12 '23 12:07 diekus

Let's ping @rayankans as the Android implementer.

tomayac avatar Jul 18 '23 12:07 tomayac