-
Notifications
You must be signed in to change notification settings - Fork 281
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
SVG icon not supported #4374
Comments
THanks for opening an issue with us! So, we should check the latest browser support again, but traditionally SVG's in the web manifest was not well supported on all OS's, which is why we recommend PNG icons. I see the Web Manifest spec mentions SVG icons now though. @denyaalt do you have the URL to your PWA? If you try to install it directly from Edge, does your icon display as expected? |
I checked, Edge (116.0.1938.81) successfully processed my SVG icon and placed it on the desktop. |
fixes #4374 <!-- Link to relevant issue (for ex: "fixes #1234") which will automatically close the issue once the PR is merged --> ## PR Type <!-- Please uncomment one ore more that apply to this PR --> Bugfix <!-- - Feature --> <!-- - Code style update (formatting) --> <!-- - Refactoring (no functional changes, no api changes) --> <!-- - Build or CI related changes --> <!-- - Documentation content changes --> <!-- - Sample app changes --> <!-- - Other... Please describe: --> ## Describe the current behavior? <!-- Please describe the current behavior that is being modified or link to a relevant issue. --> We were only checking for PNG icons, but as the user pointed out, SVG is supported too. ## Describe the new behavior? Updated the test to check for either PNG or SVG, along with updating the test message to reflect this change. ## PR Checklist - [ x] Test: run `npm run test` and ensure that all tests pass - [ x] Target main branch (or an appropriate release branch if appropriate for a bug fix) - [ x] Ensure that your contribution follows [standard accessibility guidelines](https://docs.microsoft.com/en-us/microsoft-edge/accessibility/design). Use tools like https://webhint.io/ to validate your changes. ## Additional Information
closed by #4392 |
Hi,
In the manifest file, we can specify one icon in SVG format, but PWABuilder does not detect its presence.
Do you have an implementation or a solution in mind?
PWABuilder should be able to work with SVG icons.
The text was updated successfully, but these errors were encountered: