I am making an app, that to initialize everything it takes about a second. So it became clear that the best solution is to display a splash screen.
I am now making a blank app from scratch to test it.
THE STEPS:
For now i have done the following steps:
Create a blank app.
Added platform android and ios.
Running ionic resources (i suspect there is no need of this if have added platforms, but i am not sure)
Check that into the resource folder properly appear icon.png and splash.png
Check config.xml and see that there are the following settings:
<preference name="SplashScreen" value="screen"/> <preference name="SplashScreenDelay" value="3000"/>Install ngCordova and include it in index.html and as a dependency
<script src="lib/ngCordova/dist/ng-cordova.js"></script> angular.module('starter', ['ionic', 'starter.controllers', 'ngCordova'])
It is supposed to work i guess. But i don't see any splash screen in my app.
THE QUESTION:
How can i activate the splash screen? I mean how can i actually see it appearing in the main page?
(for test purpose that ionic default image is fine and 3 seconds is okay)