[SOLVED] App icon+splash issues

Hello everyone, I’m having a problem changing the icon of the app.
The size of the images are right, I used the templates provided by the official blog, and they are correctly generated running “ionic resources”, I can see them in resources/android/icon and resources/android/splash.
When I test my app with “ionic run android” I still get the cordova logo as icon and a grey splash screen.
What am I doing wrong?
Any help would be appreciated

G.

Delete the platforms and plugins folder and add platform again.

Still not working.
Splashscreen.show() loads cordova’s splash

It’s a bug of the android platform, so:

ionic platform rm android
ionic platform add android@latest
ionic resources 

my config.xml has these preferences for the splash:

<preference name="SplashMaintainAspectRatio" value="true"/>
  <preference name="FadeSplashScreenDuration" value="3000"/>
  <preference name="SplashScreen" value="screen"/>
  <preference name="SplashScreenDelay" value="2000"/>
  <preference name="SplashShowOnlyFirstTime" value="false"/>
  <preference name="AutoHideSplashScreen" value="false" />
  <preference name="ShowSplashScreenSpinner" value="false" />

Remember to use right sizes and don’t interlace your image!

1 Like

here is the issue https://github.com/driftyco/ionic/issues/9270

I have done exactly as stated above.

The icon worked, but the splashcreen didn’t. It now shows a white screen instead of the Cordova splash screen.

I used the splash screen image packed within the side menu starter app from ionic v2 cli.

I saw you solved it adding cordova splashscreen plugin (cordova plugin add cordova-plugin-splashscreen ).
Good :smiley:

Oh yes, sorry for not replying about ir here too.