You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Wojciech Trocki (JIRA)" <ji...@apache.org> on 2018/05/13 12:28:00 UTC
[jira] [Commented] (CB-13996) The Splash Page doesn't hide when iOS
devices connect to WiFi
[ https://issues.apache.org/jira/browse/CB-13996?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16473467#comment-16473467 ]
Wojciech Trocki commented on CB-13996:
--------------------------------------
[~Aggie] Trying to replicate this ticket. What you mean by:
{quote}They connect, and click the app icon. {quote}
Does it mean that connection screen overlaps splash?
Can I assume that splashscreen will not be dissmised in scenario when any wifi is connected?
Cannot replicate that, but I think I'm just missing details to reproduce it.
If you looking for workaround splashsceen provides config options that will help to dismiss it without code:
{code}
<preference name="AutoHideSplashScreen" value="true" />
<preference name="SplashScreenDelay" value="2000" />
{code}
> The Splash Page doesn't hide when iOS devices connect to WiFi
> -------------------------------------------------------------
>
> Key: CB-13996
> URL: https://issues.apache.org/jira/browse/CB-13996
> Project: Apache Cordova
> Issue Type: Bug
> Components: cordova-plugin-splashscreen
> Affects Versions: cordova-ios@4.3.1, cordova@7.1.0
> Reporter: Aggie Chen
> Priority: Major
> Labels: performance
>
> as title, I have done some search about .splashscreen.hide().
> Andriod is fine. IOS is fine when it does not connect to WiFi. But some end-users open App by public WiFi. They connect, and click the app icon, Splash show up and stuck here.
> The problem is a little like https://issues.apache.org/jira/browse/CB-10562.
> Is there other ways to help solve this condition?
>
> environment:
> splashscreen 4.0.1, iphone 11.1.2. 10.3.2
> config.xml
> <preference name="SplashScreen" value="screen" />
> <preference name="FadeSplashScreen" value="true" />
> <preference name="SplashMaintainAspectRatio" value="true" />
> <preference name="AutoHideSplashScreen" value="false" />
> <preference name="ShowSplashScreenSpinner" value="false" />
> <preference name="windows-target-version" value="8.1" />
> <preference name="iosPersistentFileLocation" value="Library" />
> <preference name="iosPersistentFileLocation" value="Compatibility" />
> <preference name="SplashShowOnlyFirstTime" value="false">
>
> and js:
> setTimeout(function () {
> navigator.splashscreen.hide();
> }, 2000);
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org