[ 
https://issues.apache.org/jira/browse/CB-11089?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15332710#comment-15332710
 ] 

Philipp Kursawe commented on CB-11089:
--------------------------------------

So in my case the problem was related to how my cordova.js and bundle.js were 
loaded. I had them marker "async" like this:

{code}
<script src="cordova.js" async></script>
<script src="scripts/platformOverrides.js" async></script>
<script src="bundle.js" async></script>
{code}

CDVWKWebViewEngine does not seem to handle this well. Removing the async 
properties made the splashscreen disappear all the time, even with fading 
enabled.

So, nothing to do on the splashscreen plugin, sorry for the hold-up.

Beside the point I believe an arbitrary splash delay makes not sense at all. 
The app should be in control when to hide the splashscreen. It knows best when 
the first screen is readily composed and presentable. This can happen slower or 
faster depending on the device. So setting the splash delay to 3 secs, when the 
app starts in less than 1 sec is just wrong. I'd favour in for deprecating the 
"SplashScreenDelay" default value and force apps to handle this.

Because you can, at the moment, only hide the splashscreen programmatically 
when you also set the SplashScreenDelay to "0", which should be the real 
default.

> splash hide not always works on ios
> -----------------------------------
>
>                 Key: CB-11089
>                 URL: https://issues.apache.org/jira/browse/CB-11089
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin SplashScreen
>         Environment: iphone 6
>            Reporter: wzhsh90
>              Labels: triaged, wfc
>
> splash version:3.2.2-dev
> setp 1、I set AutoHideSplashScreen=false,FadeSplashScreen=false
> I kill the application multi times, sometimes the splash will hide correctly, 
> but somethimes the splash can not hide ,it always show or white screen.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to