Cordova UAP appx on Windows 10 crashes when app is min/maximized

1

Cordova UAP app on Windows 10 crashes when minimizing and maximizing it.

Reproduce steps

  1. Build cordova app using version 6.3.1 and windows engine version 4.4.3
  2. Install the appx on Windows 10 (having store Version 11610.1001.23.0)
  3. Open the app
  4. Minimize and Maximize the app
  5. 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);
    }
}
javascript
cordova
windows-10-universal
appx
asked on Stack Overflow Dec 22, 2016 by Frontend Art • edited Jun 20, 2020 by Community

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0