cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthias Max (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-10562) hide() not working in latest splashscreen plug in 3.1.0 in iOS
Date Tue, 09 Feb 2016 20:27:18 GMT

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

Matthias Max commented on CB-10562:
-----------------------------------

I have added the master version which is 3.2.1-dev right now and it doesn't work. Same behaviour.

I read on the other issue https://issues.apache.org/jira/browse/CB-10412 that leaving out
the SplashScreenDelay setting if you want to close the splash yourself in the app it works.
I tried and it does but with a major delay long after the app has already been started (I
hear it cause mine uses sound).

When running in debug mode I even get memory leak errors on XCode!

EDIT: I found out that when the app is running normal on the device and not in debug mode
connected to XCode it works!

> hide() not working in latest splashscreen plug in 3.1.0 in iOS
> --------------------------------------------------------------
>
>                 Key: CB-10562
>                 URL: https://issues.apache.org/jira/browse/CB-10562
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin SplashScreen
>    Affects Versions: 3.1.0
>         Environment: OSX Yosemite, iOS 9, iPhone 6, XCode 7.2.1, Cordova 4.0.1, IONIC
app, latest Cordova & IONIC CLIs
>            Reporter: Matthias Max
>
> In version 3.0.0 the command navigator.splashscreen.hide(); works fine.
> With the new version 3.1.0 it simply doesn't close the splashscreen. The splashscreen
keeps on being displayed for the time set in the config.xml.
> config.xml:
>   <preference name="SplashScreen" value="screen"/>
>   <preference name="AutoHideSplashScreen" value="false"/>
>   <preference name="ShowSplashScreenSpinner" value="false"/>
>   <preference name="SplashScreenDelay" value="20000"/>
>   <preference name="SplashMaintainAspectRatio" value="true"/>
>   <preference name="SplashShowOnlyFirstTime" value="false"/>
>   <preference name="FadeSplashScreen" value="false"/>
> JS:
>         $ionicPlatform.ready(function() {
>             // Hide splash screen
>             if (navigator.splashscreen) {
>                  navigator.splashscreen.hide();
>             }
>         });



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message