Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
4.4.2
-
None
-
$ cordova -v
6.3.1$ cordova platform
Installed platforms:
android 5.2.2
windows 4.4.2
Available platforms:
amazon-fireos ~3.6.3 (deprecated)
blackberry10 ~3.8.0
browser ~4.1.0
firefoxos ~3.6.3
webos ~3.7.0
wp8 ~3.8.2 (deprecated)$ cordova plugins list
com.phonegap.plugins.nativesettingsopener 1.3 "Native settings"
cordova-custom-config 1.2.6 "cordova-custom-config"
cordova-fabric-plugin 1.0.8 "cordova-fabric-plugin"
cordova-plugin-app-version 0.1.8 "AppVersion"
cordova-plugin-camera 2.1.1 "Camera"
cordova-plugin-compat 1.0.0 "Compat"
cordova-plugin-crosswalk-webview 1.7.2 "Crosswalk WebView Engine"
cordova-plugin-device 1.1.2 "Device"
cordova-plugin-dialogs 1.2.1 "Notification"
cordova-plugin-file 4.2.0 "File"
cordova-plugin-file-transfer 1.5.1 "File Transfer"
cordova-plugin-fullscreen 1.1.0 "cordova-plugin-fullscreen"
cordova-plugin-globalization 1.0.3 "Globalization"
cordova-plugin-network-information 1.2.1 "Network Information"
cordova-plugin-splashscreen 3.2.2 "Splashscreen"
cordova-plugin-whitelist 1.2.2 "Whitelist"
ionic-plugin-keyboard 2.0.1 "Keyboard"
phonegap-plugin-push 1.8.1 "PushPlugin"Model: HP Elite x3
Software: Windows 10 MobileVersion 1511
OS Build: 10.0.10586.494
Firmware revision number: 0001.0000.0006.0243
Screen resolution: 1440x2560$ cordova -v 6.3.1 $ cordova platform Installed platforms: android 5.2.2 windows 4.4.2 Available platforms: amazon-fireos ~3.6.3 (deprecated) blackberry10 ~3.8.0 browser ~4.1.0 firefoxos ~3.6.3 webos ~3.7.0 wp8 ~3.8.2 (deprecated) $ cordova plugins list com.phonegap.plugins.nativesettingsopener 1.3 "Native settings" cordova-custom-config 1.2.6 "cordova-custom-config" cordova-fabric-plugin 1.0.8 "cordova-fabric-plugin" cordova-plugin-app-version 0.1.8 "AppVersion" cordova-plugin-camera 2.1.1 "Camera" cordova-plugin-compat 1.0.0 "Compat" cordova-plugin-crosswalk-webview 1.7.2 "Crosswalk WebView Engine" cordova-plugin-device 1.1.2 "Device" cordova-plugin-dialogs 1.2.1 "Notification" cordova-plugin-file 4.2.0 "File" cordova-plugin-file-transfer 1.5.1 "File Transfer" cordova-plugin-fullscreen 1.1.0 "cordova-plugin-fullscreen" cordova-plugin-globalization 1.0.3 "Globalization" cordova-plugin-network-information 1.2.1 "Network Information" cordova-plugin-splashscreen 3.2.2 "Splashscreen" cordova-plugin-whitelist 1.2.2 "Whitelist" ionic-plugin-keyboard 2.0.1 "Keyboard" phonegap-plugin-push 1.8.1 "PushPlugin" Model: HP Elite x3 Software: Windows 10 Mobile Version 1511 OS Build: 10.0.10586.494 Firmware revision number: 0001.0000.0006.0243 Screen resolution: 1440x2560
Description
First error that led me here:
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.