Splash screen defaults to Cordova, not Ionic


#1

Hi,
I notice that for every Ionic app I create, the default splash screen is the Cordova splash screen.

In my project folder -> resources -> ios -> splash, I find the Ionic splash screens, but they don’t show up.

The same goes for the app icon. How can I make this work? I would expect this to work out of the box. The splashscreen plugin is installed by default, I didn’t change anything.

Does this have anything to do with the fact that it’s not the production app yet?

Thanks!


#2

Try running ionic cordova resources to regenerate the assets.


#3

Thanks for your reply. ionic resources worked for me! (ionic cordova resources didn’t).

Also:
I have a vague memory of Ionic being able to generate all the resources automatically based on one image. I’m I just dreaming or does this command actually exists :grinning:?


#4

Ok, then you are still on Ionic CLI v2.[quote=“binoculars88, post:3, topic:93441”]
I have a vague memory of Ionic being able to generate all the resources automatically based on one image. I’m I just dreaming or does this command actually exists :grinning:?
[/quote]

You just used it: http://blog.ionic.io/automating-icons-and-splash-screens/