I’m not having any problems with the splash screen – I’m able to use the CordovaSplashscreen plugin and tell it to hide() when the relevant promises resolve; I’m also able to comment out that hide’ing and just instead rely on AutoHideSplashScreen being true in config.xml, and let the splash screen auto hide after SplashScreenDelay.
(I list these things that do work so it’s clear that my problem is not a duplicate of the dozens of Ionic and Cordova/PhoneGap-related splash screen questions.)
My problem is that no matter what I try – ios, android, emulator, real device, using CordovaSplashscreen to hide() or not, AutoHideSplashScreen set to true, AutoHideSplashScreen set to false, etc. – I can’t get the splash screen to fade when it disappears.
FadeSplashScreen seems not to have any effect no matter what combination of config.xml settings, splash screen hide() calling or not calling, emulation or device, ios or android I use.
My current config.xml settings, though this doesn’t give a full portrait of the dozen or so permutations of these values I’ve tried:
I’ve tried it both with and without the cordova-splash screen plugin installed.
It seems like the most important question is, is there anyone out there who is able to make the splash screen fade using Ionic? @mhartington, are you able to?
It might be a matter of changing aspects of the Ionic-Cordova relationship, the cordova-splash API, the Cordova API, or something else… perhaps Ionic isn’t changing how the splashscreen works, but the way the splashscreen works changed and Ionic didn’t change!
You can fix the ios part by removing the “dispatch_async(dispatch_get_main_queue(), ^{ …” on the end of CDVSplashScreen.m. They should not use the dispatch_async in the animation block.
This is a problem with me too. Currently testing in android, the splash screen hides early (and shows a flash of white screen) without any splashscreen code in my app.js, even for arbitrarily high splash screen delay values
Any updates about this? I’m having the same issue… i tried a lot of things and still there is white screen that shows between the splash screen and the app home screen… my application has black backgrounds and the splash screen is also black but no matter what i try there is always a white screen that shows even just for half a sec.