While developing cordova app, I notice white screen after the splash screen and before html page.
Is there any solution to get rid off white screen?
I am facing this issue in iPhone app, I have used cordova helloWorld app so this issue is not related to plugins.
Cordova v7.0.1
While developing cordova app, I notice white screen after the splash screen and before html page.
Is there any solution to get rid off white screen?
I am facing this issue in iPhone app, I have used cordova helloWorld app so this issue is not related to plugins.
Cordova v7.0.1
Share Improve this question asked Jan 5, 2018 at 5:46 Farhan ChauhanFarhan Chauhan 5851 gold badge5 silver badges14 bronze badges 2- Possible duplicate of Cordova 3.4 iOS white screen after splash – RamblinRose Commented Jan 5, 2018 at 5:57
- @RamblinRose thanks, but that solution is outdated and it doesn't solve my problem with xcode 9 and iPhone x. – Farhan Chauhan Commented Jan 5, 2018 at 9:01
1 Answer
Reset to default 6You are probably facing the same issue I was facing a while ago. Start off by not auto hiding the splash screen. Instead hide it on "deviceready".
To stop autohiding splash screen add the following line to config.xml
<preference name="AutoHideSplashScreen" value="false" />
To manually hide splash screen add the following inside the deviceready event in your entry point( probably index.html or the js file you are using in it for app namespace )
navigator.splashscreen.hide();
For more information, head to cordova-plugin-splashscreen documentation.