thinktecture / boardz-cross-platform-sample

Sample application for demonstrating various aspects of modern cross-platform applications - using Angular 2, Cordova, Electron & gulp. With a .NET Web API & SignalR backend.
MIT License
78 stars 30 forks source link

Exception in Cordova app on Windows 8/10 #4

Closed ChristianWeyer closed 8 years ago

ChristianWeyer commented 8 years ago

SCRIPT5022: Unhandled exception at line 79, column 13 in ms-appx-web://net.tt.boardz/www/cordova.js 0x800a139e - JavaScript runtime error: module cordova/plugin_list already defined

If we remove the explicit from index.html manually everything works.

ManuelRauber commented 8 years ago

It seems that we don't need to add it explicitly. Cordova contains a method to load the cordova_plugins.js: https://github.com/apache/cordova-js/blob/master/src/common/pluginloader.js#L122