Hello,
I’m only testing against Android at present, but I have a splash screen working well now. It is currently just configured in my config.xml as
<preference name="SplashScreen" value="screen" />
<preference name="SplashScreenDelay" value="10000" />
This shows it for ten seconds. I wish to hide it when my app starts, after lots of googling I found
// Hide the splash screen as soon as the device is ready
if (window.navigator && window.navigator.splashscreen) {
console.log('Hiding splash screen');
window.navigator.splashscreen.hide();
}
The trouble is, window.navigator.splashscreen is never true, and so splashscreen.hide is never called.
Can anyone recommend a good way to do this please?
Thanks for your time, Russ