w3c / badging

Badging API
https://w3c.github.io/badging/
Other
87 stars 12 forks source link

A means to associate a badge with an installed application #97

Open marcoscaceres opened 1 year ago

marcoscaceres commented 1 year ago

Installed applications have an "identity", but it's not currently exposed: https://github.com/whatwg/html/issues/8635

It would be nice if we could make use of that identify to link together the badge and the installed web application.

marcoscaceres commented 1 year ago

it appears that the mechanism for supporting this is to conditionally expose it only when badging is possible.

However, in cases where the API is API and does nothing, it might be prudent to throw a NotSupportedError.