When making a progressive web application (PWA), you have to create enormous amount of different sizes of its icon and declare them in a .manifest file. It seems obvious that a single SVG would solve this mess brilliantly but unfortunately I cannot do this for now.
I tried this:
- Create 2 different SVG, set them square artboards (canvas) in Illustrator. Result: in Chrome devtools - either "Image file has incorrect size (1200x1200): must provide at least 144x144" or "Failed to load your svg". However, same svg on same url been opened in Chrome is visible perfectly!
- Set "sizes":"any" in .manifest. Although this keyword mentions as accepted, devtools show an error.
- Added "purpose": "maskable" or "purpose": "maskable any" or "purpose": "any".
Devtools say that my SVG (150x150) is less than minimal required (144x144) and also, I must supply at least one icon in png, svg(!!!) or wepP format.