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

[SplashScreen] AutoHideSplashScreen not respected, Screen Flicker



    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 4.0.0
    • None
    • Ionic
    • None


      I'm using Cordova (v6.4.0) and the Splashscreen plugin (v4.0.0) (https://github.com/apache/cordova-plugin-splashscreen).

      The various splash screen images I set are displaying on both Android and iOS devices. However, on Android devices there is a white flash between the splash screen images and my app loading.

      In my Cordova config.xml file, I have the following lines for the splash screen:

      <preference name="SplashScreenDelay" value="2000" />
      <preference name="ShowSplashScreenSpinner" value="false" />

      I tried disabling the splash screen image from automatically hiding and increasing the delay before the splash screen hides by adding the additional following lines to config.xml:

      <preference name="AutoHideSplashScreen" value="false" />
      <preference name="SplashScreenDelay" value="10000" />

      Because auto hide is false and the delay is 10 seconds, I should see the static loading image for a full 10 seconds, but on both iOS and Android it only displays for a second or two. I'm guessing that is the root of the problem.

      Once auto hide can be disabled, I hoped to manually trigger hiding the splash screen within my app's main init function using:



        1. 05-ionic-non-transparent.mp4
          280 kB
          Sergey Shakhnazarov
        2. 04-ionic-transparent.mp4
          272 kB
          Sergey Shakhnazarov
        3. 03-patched.mp4
          259 kB
          Sergey Shakhnazarov
        4. 02-youtube.mp4
          233 kB
          Sergey Shakhnazarov
        5. 01-latest.mp4
          332 kB
          Sergey Shakhnazarov

        Issue Links



              Unassigned Unassigned
              depiction@gmail.com Matt Thompson
              2 Vote for this issue
              5 Start watching this issue