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

The list of known Web Manifest platform values is confusing #538

Closed
pkotwicz opened this issue Dec 16, 2016 · 7 comments
Closed

The list of known Web Manifest platform values is confusing #538

pkotwicz opened this issue Dec 16, 2016 · 7 comments

Comments

@pkotwicz
Copy link

The list of known Web Manifest platform values is confusing. https://github.com/w3c/manifest/wiki/Platforms list only "play"

https://www.w3.org/TR/appmanifest/#purpose-member uses an example with platform="android"
https://www.w3.org/TR/appmanifest/#dfn-application-object uses an example with platform="play"

I suggest having two separate lists of platform values one for the "Image Object" and one for the "Application Object"

There is some discussion on this topic in https://groups.google.com/a/chromium.org/forum/#!searchin/blink-dev/purpose%7Csort:relevance/blink-dev/1ebMBNhqRew/_6hAQKAfBwAJ

Thanks to Rick Byers for noticing the spec inconsistency!

@RByers
Copy link

RByers commented Dec 16, 2016

Note that this is intentionally NOT part of the spec - it's implementation defined with the WG maintaining a wiki that implementors can just update to reflect the status of their implementation. I suggest you just edit the wiki to say whatever you think best reflects your implementation in Chrome Android :-)

@RByers
Copy link

RByers commented Dec 16, 2016

Oh but yeah the spec examples should probably be consistent with real implementations too :-)

@pkotwicz
Copy link
Author

I suggest clarifying the green Note in https://www.w3.org/TR/appmanifest/#platform-member or the https://github.com/w3c/manifest/wiki/Platforms page to clearly state that the supported platforms for the "Image Object" and the "Application Object" are different

Current state of Chrome for Android:
Application Object -> Only "play" platform is supported
Image Object -> platform attribute ignored (no platforms are supported)

I believe that the platform member for the application object was added by the Mozilla folks so I suspect that Firefox supports "android" as a platform for the Image object 29f1690

@marcoscaceres
Copy link
Member

marcoscaceres commented Dec 19, 2016 via email

@kenchris
Copy link
Collaborator

kenchris commented Dec 19, 2016

Something like

The values supported by the image and application object may differ as an operation system can have multiple app stores. As an example, Firefox and Chrome may both use the value "android" for image objects on Android, and "windows" on Windows, but use "play" to refer to native applications in the Play Store, or "samsung" to those in the Samsung store.

This specification does not define the particular values (like the above) for a the platform member. However, the working group maintains a list of known platform values in our wiki.

@kenchris
Copy link
Collaborator

kenchris commented May 2, 2017

@RobDolinMS feel like handling this one? and make sure it fits with what Microsoft wants

@marcoscaceres
Copy link
Member

Closing, as we now only have "play" in the examples.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants