, , , .css .js.
To overcome this problem, we can use the screensaver and also delay its time, so that before the download of all the necessary files, the end user will not see the nameless nameless screen, instead our custom screensaver will be displayed.
I solved this by referring to the first and second part of the answer given by "ian". These are the steps that I followed.
Step 1: Install the Splashscreen Cordova plugin.
cordova plugin add org.apache.cordova.splashscreen
Step 2. Set the Auto Hide Splash Screen parameter from the config.xml file to false.
<preference name="AutoHideSplashScreen" value="false"/>
Step 3: Increase Screen Saver Delay Time
<preference name="SplashScreenDelay" value="6000"/>
Hope this helps someone :)
source
share