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

'extendedSplashScreen' is undefined

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 4.4.2
    • None

    Description

      First error that led me here:

      Console
      Warning: A more recent version of cordova-plugin-splashscreen has been hooked into for compatibility reasons. Update the plugin to version >= 4.
      cordova.js (925,13)
      Exception calling native with command :: SplashScreen :: hide ::exception=ReferenceError: 'extendedSplashScreen' is undefined
      cordova.js (993,13)
      

      I looked around the codebase to check for that variable, found it here:

      .\platforms\windows\platform_www\css\splashscreen.css
      .\platforms\windows\platform_www\cordova.js
      .\platforms\windows\platform_www\cordova-js-src\splashscreen.js
      .\platforms\windows\www\cordova-js-src\splashscreen.js
      .\platforms\windows\www\css\splashscreen.css
      .\platforms\windows\www\cordova.js
      

      The most interesting one being any of the two splashscreen.js

      The variable extendedSplashScreen is never defined.

      I find out that by adding the bollowing in my body, the error goes away:

      <div id="extendedSplashScreen"></div>
      

      However, the extended splashscreen still seems not to work.

      I suspected the `cordova-plugin-splashscreen` to be the culprit, but removing it from cordova led to the same error.

      I will keep investigating and report my findings here.

      Attachments

        Activity

          People

            daserge Sergey Shakhnazarov
            cadesalaberry C-A de Salaberry
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: