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

Webapp Manifest 'density' field is deprecated #1178

Closed
Splaktar opened this issue Jun 23, 2016 · 1 comment
Closed

Webapp Manifest 'density' field is deprecated #1178

Splaktar opened this issue Jun 23, 2016 · 1 comment
Labels
P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent type: bug/fix

Comments

@Splaktar
Copy link
Member

Splaktar commented Jun 23, 2016

  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
        }
  ],
@filipesilva filipesilva added type: bug/fix P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent labels Jul 4, 2016
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent type: bug/fix
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants