Open ArMouReR opened 2 years ago
I have something similar, the launch Screen shows up for a super short time and then the webview is shown. Event if I add AutoHideSplashScreen to false and a long delay time I just see it for a very short time before the webview overlaps it. Any ideas (coedova-ios 6.2.0)?
I haven't found the solution yet, so if you find something let me know. If you want me to try something to help you I am ready as well...
I've tested this in Cordova-iOS 7.1.0 and I cannot reproduce the issue as described. Please test and confirm if you are still seeing this issue, otherwise we will close this issue.
Problem
In my Ionic app I have very strange situation: the splash screen disappears before I call this.splashScreen.hide();
What is expected to happen?
Splash screen should hide only after this.splashScreen.hide();
What does actually happen?
The splash screen is hidden as soon as webview is loaded. I have tried to debug the issue in Xcode and when I set break point in CDVViewCoontroller.m in function showLaunchScreen() I see that the call to this function is happening form my code after deviceReady event and during this call the Splash Screen already tuned off.
Information
I am using the Ionic 6 framework.
Here is the ionic/cordova information for environment:
Config.xml params:
General thoughts...
AutoHideSplashScreen is set to true with huge delay, but changing it to false doesn't solves the problem. I do have background set 0x0 - I need my app to be transparent in order to show up over camera view. It seem like splash screen has z-index lower than main view, because I do see splash screen in the begging, then main view is loaded and I see on the background splash screen, and then after this.splashScreen.hide(); the splash screen disappears from background.