[SOLVED] App icon+splash issues


#1

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.


Changing ionic's v2 app splash screen
[SOLVED] Can't update android resources
#2

Delete the platforms and plugins folder and add platform again.


#3

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


#4

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!


Default cordova icon and splash instead of resources
#5

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


#6

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.


#7

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


#8

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