-
Notifications
You must be signed in to change notification settings - Fork 22
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
Density descriptors in manifest.json should not be included #228
Comments
Oh, forgot to point out that "density": "1.0" is also implied - so you get that for free. |
Actually on phones densities like 3.0 and 4.0 are kind of standard today. My second gen Moto X has a density of 3.0, but newer ones like the Galaxy S6/S7 are 4.0: |
Ok, but that's not the point: a 192x192px icon is fine to use at 1x (even if designed for 4x). You don't want to discriminate on density unless you absolutely need to. It might make more sense for us to drop density from the spec and implementations if people using it incorrectly. Discriminating on density is a bit of a corner case, specifically nowadays where 2x is the norm and 3x is also becoming normal. Sent from my iPhone
|
Agree. I was surprised to see these in the output. |
Thank you @marcoscaceres for your feedback. I'm glad the manifest is spreading and I hope RFG is a significant contributor :) Okay, I understand. I'm going to remove the FYI, I generated the manifest as described in the Android Chrome official doc. @paulirish I have no idea if that's up to you, but maybe you could give it a look? |
@PaulKinlan should be able to fix the docs, or know who can |
Implemented in branch |
Deployed yesterday |
Hi, I edit the W3C Manifest specification and work on Firefox's implementation of W3C manifest. Firstly, thanks for adding W3C manifest support via this plugin! ❤️ We see from our stats that many sites are including the manifest.
I would like to point out a small, but significant, issue that's currently affecting users. The usage of the "density" member in your generated manifest is currently being used incorrectly and should be removed.
The purpose of "density" is to say: "only ever use this icon when the density of the screen is at least X" (see spec). Right now, almost none of the icons will match, because there are no screen that, for instance, have a density "4.0" and very few that have "3.0".
I would kindly ask that you please remove the density member from the generated manifest.
Please let me know if you have any questions and if I can help fix this! I tried to track down the generator for this, but I had trouble finding it.
The text was updated successfully, but these errors were encountered: