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

SVG icon becomes cropped #530

Open
NatoBoram opened this issue Jun 7, 2023 · 1 comment
Open

SVG icon becomes cropped #530

NatoBoram opened this issue Jun 7, 2023 · 1 comment

Comments

@NatoBoram
Copy link

Command used:

pnpx @capacitor/assets generate --android --ios --iconBackgroundColor '#1D211C' --iconBackgroundColorDark '#1D211C' --splashBackgroundColor '#000000' --splashBackgroundColorDark '#000000'

What the logo should look like:

test

What the generated icon looks like:

ic_launcher_round

@harveysanders
Copy link

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.
image
I think it would be helpful to add some notes about the safe area in the README.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants