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

Add AutoHideSplashScreen logic to Android's Splashscreen

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Master
    • Fix Version/s: None
    • Labels:
    • Environment:

      Android 5.0.1 emulator.

      Description

      In config.xml I've set:

      config.xml
      <preference name="AutoHideSplashScreen" value="false" />`
      

      This has no effect on the Android platform. Splash screen autohides after 3 seconds (the default SplashScreenDelay).

      Tested on Android 5.0.1.

      If I look at the code here https://github.com/apache/cordova-plugin-splashscreen/blob/master/src/android/SplashScreen.java I'd expect to see something like this somewhere:

      SplashScreen.java
      preferences.getBoolean("AutoHideSplashScreen", false);
      

      Maybe this has something to do with it?

      If you need any more info, please let me know.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                tomtom Tom A
              • Votes:
                2 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: