Closed mirkonasato closed 4 years ago
Thanks. You need to run the cordova-res
command to generate the icons from the resources folder after you've added your platforms. I know it's confusing, we are working to make this more seamless.
Oh, I thought cordova-res
was just for Cordova given the name, but it does work with Capacitor as well. Good to know!
Yea we will be changing that soon! Thanks, going to close
Describe the bug
The start wizard asks to Pick an icon, but that icon doesn't seem to be used anywhere in the generated project.
To Reproduce Steps to reproduce the behavior:
Go to the start wizard, pick an icon, select React as the framework, create app, fetch the project with
ionic start --start-id ...
Open the project. There's a
resources
folder withicon.png
andsplash.png
. Butpublic/manifest.json
referencesfavicon.png
andicon.png
inpublic/assets/icon
and they both show the Ionic logo.After running
ionic capacitor add android
, the Android project uses the Capacitor logo for all launcher icons and splash screen.Expected behavior The selected icon should be used everywhere, as favicon, mobile app icons and splash screens.
This is using the
@ionic/cli
v6.5.0.