manifest-app-info icon indicating copy to clipboard operation
manifest-app-info copied to clipboard

Adding publisher

Open aarongustafson opened this issue 4 years ago • 4 comments

Super-early thinking here. Feedback very welcome.

aarongustafson avatar Oct 25 '21 20:10 aarongustafson

@tomayac I had thought about that, but wasn’t sure if it might lead to confusion if the file exists within the individual PWAs and then again (to an extent) on the publisher’s site. I think the URL handling aspect is pretty complex in and of itself and I didn’t want to overload it.

I also wasn’t sure if it would cause a problem if we dropped details in that context. Totally open to your thoughts here.

aarongustafson avatar Oct 26 '21 17:10 aarongustafson

The web-app-origin-association file format already contains a "manifest" field, so I think this could easily work. Something to consider might be to factor in the new unique ID into the verification algorithm.

{
  "web_apps": [
    {
      "manifest": "https://music.example.com/manifest.json",
      "details": {
        "paths": ["/*"],
        "exclude_paths": ["/internal/*"]
      }
    }
  ]
}

tomayac avatar Oct 27 '21 11:10 tomayac

@diekus @marcoscaceres Thoughts on this proposal?

aarongustafson avatar Aug 17 '23 18:08 aarongustafson

Still thinking about the verification aspect. The web-app-origin-association file is similar to Apple's associated domain file, Android's assetlinks.json file, and Windows' windows-app-web-link file. What differs is that the web-app-origin-association file does not reference PWAs using a platform-specific app

tomayac avatar Aug 17 '23 19:08 tomayac