When disabling PhoneGap application on WP8.1

tl; dr - I cannot get the PhoneGap application to run successfully on WP8.1. There are a number of problems in my problem diagnosis process.

Setup: I created PhoneGap 3.4 for Windows Phone, tested it on Windows Phone 8 using Visual Studio 2012 for WP, and sent it. I have received many crash reports from people with Windows Phone 8.1.

Diagnosing the problem: I went ahead and tried to run the application on the WP8.1 emulator using Visual Studio 2013 for Windows. I get the following error:

Deployment of application to device failed.
Exception from HRESULT: 0x89721500

Then I will try to select "Retarget to Windows Phone 8.1". The application starts and a splash screen appears, but then it crashes and I get the following error:

An exception of type 'System.SystemException' occurred in Microsoft.Phone.Interop.ni.dll but was not handled in user code

Additional information: An unknown error has occurred. Error: 80020006.

If there is a handler for this exception, the program may be safely continued.

XAP: , - VS2013, , . , 8.1 XapDeploy.exe, / .

, : , , WP8.1 PhoneGap; , , . , , PhoneGap, .

, , .

: , , , 8.1; 8.1 /. ? , .

+4
2

. (.html,.js,...), .

, , , , , , , , , XHRHelper.cs, .

, https://issues.apache.org/jira/browse/CB-4873 . , Windows Phone 8.1, , , .

Maris Seimanovs, , XHRHelper, : https://gist.github.com/anonymous/5bf4d9ba9cdb5d0f3f3e

, XHRHelper /wp 8/cordovalib/XHRHelper.cs

, .

+6

, , , . : "System.SystemException" Microsoft.Phone.Interop.ni.dll .

, , Content-Security-Policy. content.

. , .

, SO-, , -, Google , , , , .

0

Source: https://habr.com/ru/post/1541698/


All Articles