You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Matthias Max (JIRA)" <ji...@apache.org> on 2016/02/09 00:33:39 UTC

[jira] [Created] (CB-10562) hide() not working in latest splashscreen plug in 3.1.0 in iOS

Matthias Max created CB-10562:
---------------------------------

             Summary: 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