Skip to content

Webapp Manifest 'density' field is deprecated #1178

Closed
@Splaktar

Description

@Splaktar
  1. Mac OS-X El Capitan
  2. Versions.
    angular-cli: 1.0.0-beta.6
    node: 4.4.3
    os: darwin x64
  3. Repro steps.
    ng new myApp --mobile
  4. The log given by the failure.
    N/A.
  5. Mention any other details that might be useful.
    According to this Chrome Article:

Please note, there used to be a dedicated “density” field in the manifest spec, this has been removed from the Spec and the implementation in Chrome. If it is defined in your manifest it will be ignored.

The density field is also not listed on the MDN page.

But the manifest currently generated by the angular-cli includes these fields:

  "icons": [
    {
            "src": "/android-chrome-36x36.png",
            "sizes": "36x36",
            "type": "image/png",
            "density": 0.75
        },
        {
            "src": "/android-chrome-48x48.png",
            "sizes": "48x48",
            "type": "image/png",
            "density": 1
        },
        {
            "src": "/android-chrome-72x72.png",
            "sizes": "72x72",
            "type": "image/png",
            "density": 1.5
        },
        {
            "src": "/android-chrome-96x96.png",
            "sizes": "96x96",
            "type": "image/png",
            "density": 2
        },
        {
            "src": "/android-chrome-144x144.png",
            "sizes": "144x144",
            "type": "image/png",
            "density": 3
        },
        {
            "src": "/android-chrome-192x192.png",
            "sizes": "192x192",
            "type": "image/png",
            "density": 4
        }
  ],

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgenttype: bug/fix

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions