Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-10562

hide() not working in latest splashscreen plug in 3.1.0 in iOS

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 3.1.0
    • Fix Version/s: None
    • Labels:
    • Environment:

      OSX Yosemite, iOS 9, iPhone 6, XCode 7.2.1, Cordova 4.0.1, IONIC app, latest Cordova & IONIC CLIs

      Description

      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(); }

      });

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                daserge Sergey Shakhnazarov
                Reporter:
                bitflower Matthias Max
              • Votes:
                1 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: