icongenie 2.0 - android icons are solid white
-
I’m generating icons/splash screens using icongenie and the utility is working great. I have an icon png (white icon) with a transparent background and my splash screens and icons look great (white icon with defined color in profile for background)…except for the Android icons. The background of all generated Android icons is white – and since my icon is white with a transparent background, I just have plain white icons, but only on Android. Again, iOS looks just fine and so do the splash screens on Android.
Any thoughts? Thank you.
My profile is:
{
“params”: {
“quality”: “7”,
“include”: [“capacitor”],
“icon”: “src/assets/icon.png”,
“pngColor”: “5f7055”,
“splashscreenColor”: “5f7055”,
“splashscreenIconRatio”: 30,
“padding”: [2, 2]
},
“assets”: []
} -
If anyone has any guidance, I’d really appreciate it.
Is there a setting specific to Android icon background color that I’m missing?
-
Verified to be icongenie version 2.3.3.
-
pngColor
maybe what you need?pngColor : Background color to use for the png generator, when “background: true” in the asset definition (like for the cordova/capacitor iOS icons)
-
@aitcheyejay did you ever fix this? I have the same problem.
-
Had the same problem, was able to fix it manually:
- go to src-capacitor/android/app/src/main/res/values/ic_launcher_background.xml
- ic_launcher_background.xml content should look like:
<?xml version=“1.0” encoding=“utf-8”?>
<resources>
<color name=“ic_launcher_background”>#0062A0</color>
</resources>- just change color code in the <color>!