Cordova UAP app on Windows 10 crashes when minimizing and maximizing it.
Reproduce steps
- Build cordova app using version 6.3.1 and windows engine version 4.4.3
- Install the appx on Windows 10 (having store Version 11610.1001.23.0)
- Open the app
- Minimize and Maximize the app
- Repeat step 4 till on maximize the app crashes
Exception
SCRIPT269: Unhandled exception at line 2126, column 9 in ms-appx-web://APP_IDENTIFIER/www/cordova.js
0x8001010d - JavaScript runtime error: An outgoing call cannot be made since the application is dispatching an input-synchronous call.
function onResize() {
// Safely update the extended splash screen image coordinates.
// This function will be fired in response to snapping, unsnapping,
// rotation, etc...
if (splash) {
// Update the coordinates of the splash screen image.
>>>> coordinates = splash.imageLocation; <<<< //this line causes the exception
updateImageLocation(splash);
}
}