Search code examples
angularcordovaionic-frameworkionic3ionic4

How to set splash screen in ionic4


I’m migrating source code from ionic3 to ionic4.

I copied the ionic3 resouces folder to the ionic4 project.
However, the cordova symbol appears on the splash screen.
enter image description here
I wonder why.
Please teach me how to change splash screen in ionic4.


Solution

  • After copying, you need to run ionic cordova resources command that will recreate the resources (icons and splash) with the icon.png and splash.png file