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

SplashScreenDelay config value parsing incorrect

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.1.0
    • Fix Version/s: None
    • Component/s: cordova-browser
    • Labels:
    • Environment:

      browpser platform

      Description

      splashScreenDelay = cfg.getPreferenceValue('SplashScreenDelay') || splashScreenDelay;
      

      The variable ```splashScreenDelay``` later assumed to be an integer but after this line it ends up storing an integer as a string, like "3000".
      This causes the splash screen delay always to be 0, as in immediate.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              petermetz Peter (Somogyvari) Metz
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: