capacitor-assets
capacitor-assets copied to clipboard
SVG icon becomes cropped
Command used:
pnpx @capacitor/assets generate --android --ios --iconBackgroundColor '#1D211C' --iconBackgroundColorDark '#1D211C' --splashBackgroundColor '#000000' --splashBackgroundColorDark '#000000'
What the logo should look like:
What the generated icon looks like:
I just ran into this same issue with the splash screen. The fix, at least for me, is to make sure your logo fits in the safe zone, which is a 1200x1200 box in the center of the suggested 2732x2732 image.
I think it would be helpful to add some notes about the safe area in the README.