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

Colin Bau commented on CB-10562:
--------------------------------

hi [~bitflower]
I tried the 3.2.1-dev version in cordova 6.0.0 with [email protected]
the problem seem solved
please follow the step

step 1
cordova plugin rm cordova-plugin-splashscreen

step 2
cordova plugin add https://github.com/apache/cordova-plugin-splashscreen

step 3
cordova platform rm ios

step 4
cordova platform add ios

step 5
cordova build ios --device

it will generate a ipa file,I launch my app,the "hide" function work again

> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to