0

I'm developing a Windows Phone 8.1 app using Phonegap Build. The problem is the .appx generates crashes 1-2 seconds after it opens. This crash occurs if I add

<script type="text/javascript" src="cordova.js"></script>

in my index.html file. Of course, I need it to initialize all cordova plugins. I tested it on real device.

This is my config.xml: https://github.com/widonwaker/test/blob/master/config.xml

Vadim Kotov
  • 8,084
  • 8
  • 48
  • 62

1 Answers1

0

I've run into a similar problem; in order to debug I tried building and running the app in Visual Studio 2015 and found it was related to this problem: JavaScript runtime error: Unable to add dynamic content

Solutions include using a specific compatible version of jQuery, using Windows 8 compatibility shim JS library, or skipping the Windows 8 platform entirely (Windows 10 doesn't have the same restrictions).

pix0r
  • 31,139
  • 18
  • 86
  • 102