Skip to content

PWA No supplied icon is at least 144px square #17384

@richardscholten73

Description

@richardscholten73

🐞 Bug report

Command (mark with an x)

  • new
  • build
  • serve
  • test
  • e2e
  • generate
  • [ x] add @angular/pwa
  • update
  • lint
  • xi18n
  • run
  • config
  • help
  • version
  • doc

Is this a regression?

I dont know

Description

When i add pwa to my project with add @angular/pwa the generated manifest includes icons with "purpose": "maskable". But the current chrome browser demands "purpose": "maskable any" (as mentioned in this post: https://stackoverflow.com/questions/59958247/pwa-manifest-does-not-contain-a-suitable-icon) Because of this the install option for pwa does not apear in the address bar when opening the app in a browser (the + sign in the address bar and the install option from the ... menu)

🔬 Minimal Reproduction

Follow this guide: https://angular.io/guide/service-worker-getting-started

🔥 Exception or Error

"Manifest does not include a suitable icon" and "No supplied icon is at least 144px square". ## 🌍 Your Environment 
Windows 10 Chrome 80+  _ _ ____ _ ___ / \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _| / △ \ | '_ \ / _` | | | | |/ _` | '__| | | | | | | / ___ \| | | | (_| | |_| | | (_| | | | |___| |___ | | /_/ \_\_| |_|\__, |\__,_|_|\__,_|_| \____|_____|___| |___/ Angular CLI: 9.0.6 Node: 12.14.1 OS: win32 x64 Angular: 9.0.6 ... animations, cli, common, compiler, compiler-cli, core, forms ... language-service, platform-browser, platform-browser-dynamic ... router Ivy Workspace: Yes Package Version ----------------------------------------------------------- @angular-devkit/architect 0.900.6 @angular-devkit/build-angular 0.900.6 @angular-devkit/build-optimizer 0.900.6 @angular-devkit/build-webpack 0.900.6 @angular-devkit/core 9.0.6 @angular-devkit/schematics 9.0.6 @angular/service-worker 9.0.7 @ngtools/webpack 9.0.6 @schematics/angular 9.0.6 @schematics/update 0.900.6 rxjs 6.5.4 typescript 3.7.5 webpack 4.41.2

Anything else relevant?
Chrome Version 80.0.3987.163 (Official Build) (64-bit)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions