Win 10 Universal App with Cordova trying to load flash

Viewed 2307

I'm building a cross-platform Cordova app with Visual Studio 2015 and tools for Apache Cordova. Therefore I'm using the Blank Cordova App (with TypeScript) from Tools for Apache Cordova. Everything seems to work fine, except there is a strange error in the JavaScript Console when running the App on Windows 10:

APPHOST9603: "Can’t load the ActiveX plug-in that has the class ID "{D27CDB6E-AE6D-11CF-96B8-444553540000}". Apps can't load ActiveX controls."

This is kind of strange because I'm not unsing any ActiveX plug-in. At least not knowingly... The error is also only visible when running the app on Windows.

Googling the UID brought me here: It is some sort of configuration for Shockwave Flash, which I'm not using either.

One can reproduce the error by creating a new project with the template, changing the desired Windows platform in the config.xml to Windows 10 and starting debugging on a local Windows 10 PC.

Do you have any idea on how to resolve this error? Might this be a bug?

Edit: Same problem here.

Edit: Here is the initially created index.html:

<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta charset="utf-8" />
    <meta http-equiv="Content-Security-Policy" content="default-src 'self' data: gap: https://ssl.gstatic.com 'unsafe-eval'; style-src 'self' 'unsafe-inline'; media-src *">
    <title>BlankCordovaApp1</title>

    <link href="css/index.css" rel="stylesheet" />
</head>
<body>
    <div class="app">
        <p id="deviceready" class="event">Connecting to Device</p>
    </div>

    <script src="cordova.js"></script>
    <script src="scripts/platformOverrides.js"></script>
    <script src="scripts/appBundle.js"></script>
</body>
</html>
2 Answers
Related