Open JEricaM opened 1 year ago
I believe i'm experiencing the same issue.
When i add an icon-background.png
file with a colored background, it always generate it with a white background (only on IOS).
It seems like the default background color (#FFFFFF) is being used.
As workaround i'm using the --iconBackgroundColor argument to set a solid background color.
Same issue here
Maybe I'm wrong, but there is a lack of examples and documentation explaining how each of the icon types in Custom Mode is supposed to be used.
My guess is that icon-foreground and icon-background are used only for the Android build: https://developer.android.com/develop/ui/views/launch/icon_design_adaptive
Running the generator with the --ios flag doesn't seem to use those two icons at all. It only uses icon-only which leads me to guess that the icon-only image should be exported with the background already.
Hi to everyone
I'm using the Usage - Custom Mode to generate icon and splash screen. https://github.com/ionic-team/capacitor-assets#usage---custom-mode
On iOS I don't see the generated background icon but the default capacitor one. Obviously I've provived all the needed files inside the resources folder.
Capacitor version: "@capacitor/core": "^5.0.0" @capacitor/ios -> "5.0.2" @capacitor/assets -> "2.0.4"
My ios device is an iPhoneSE with iOS 16