stefh 0 Light Poster

Hi every1,

can anyone lead me to the end of the tunnel in which Cordova had pushed me in? I just want to see the light, at the end of the tunnel.

I've read ,re-read, and re-read again the doc, and I've explored dozens of pages according to what Google thinks is pertinent/relevant about my questions:

How do I manage to know how many icones I need, in which sizes, where do I have to place them in my project, and what file(s) do I have to edit so that my Cordova app can use all my beauiful icons anytime it needs them?

This is were I found the first traces of some kind of indications which could possibly help me to understand how I should now continue my quest for the light, at the end of the tunnel:

https://cordova.apache.org/docs/en/latest/config_ref/images.html

The app is developped for Android, IOS, and browser(s), platforms.

~ $: cordova --version
9.0.0 (cordova-lib@9.0.1)

To the hero, the one who will bring me to the end of the tunnel, I will offer and send him a t-shirt with the poem bellow written on it; and now my poem:

Poor me, I
Love an
Adorable girl, her
Evanescence, and her
Skittish character,
Even her volubility...

Her tenderness and her
Energy, her
Lightness. She's my
Princess, the only one I want to

Marry and stay forever and
Ever and ever with her!

Queen she will be soon! So it
Urges: how could I
Introduce myself to her, and
Calmly win her heart, so that she want me to be her
King?

I've just finished to write this short love story, and by the way it's an acrostic poem.

Dani AI

Generated

For : a short, practical roadmap to stop fighting Cordova icons.

Start with one high-quality square PNG (1024x1024 is a good master). Do not hand-edit files under the platforms/ folder — those get overwritten. Use an automated generator so you get every platform size, adaptive-icon layers for Android, and asset-catalog entries for iOS.

A simple workflow:

  • Put master images in a resources/ folder (e.g. resources/icon.png; optionally resources/android/icon-foreground.png and resources/android/icon-background.png for adaptive icons).
  • Install/run the generator and copy into platform folders, then prepare the project.
npm install -g cordova-res
# or just use npx
npx cordova-res --skip-config --copy
cordova prepare

If you prefer to control each entry, add platform blocks in config.xml (Android uses density, iOS uses width/height):

<platform name="android">
  <icon density="mdpi" src="resources/android/icon-48-mdpi.png" />
  <icon density="xxhdpi" src="resources/android/icon-144-xxhdpi.png" />
</platform>

<platform name="ios">
  <icon src="resources/ios/icon-60@2x.png" width="120" height="120" />
  <icon src="resources/ios/icon-1024.png" width="1024" height="1024" />
</platform>

Troubleshooting notes: uninstall the app from the device or clear the launcher cache after changing icons (Android launchers cache aggressively). For iOS, verify Images.xcassets in Xcode. If adaptive icons aren’t applied, ensure you provided foreground/background layer PNGs and that your cordova-android version supports adaptive icons. Tools and references: cordova-res, Apple App Icon HIG, Android adaptive icons.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.