CordovaWebViewImpl security issue

I am new to cordova, I just created a new project for android platform using cordova 4.0, I am debugging in android studio, when I call showWebPage I got this error:

W / CordovaWebViewImpl: Blocked (possibly sub-frame) navigation to invalid URL: https: // xxxxxxxxxx

The html page lists this security config:

<meta http-equiv="Content-Security-Policy" content="default-src 'self' data: gap: https://*/* 'unsafe-inline' 'unsafe-eval'; child-src *; style-src 'self' 'unsafe-inline'; media-src *">

      

Can anyone please help?

thank

+3
cordova webview


source to share


No one has answered this question yet

Check out similar questions:

60
Refused to download script because it violates the following content security policy directive
fourteen
Cordova content privacy policy
2
Content security policy added phone delay
2
Cordova loading external json: causes security error: how to load external json / img?
2
Correspondent 5, content security policy and local ip network
1
Vimeo API Refused to upload image in Android app
1
Jwplayer cideo doesn't play on Cordova Mobile appilcation
1
How to add content security policy to index.html
0
Cordova error: Inline script refused to execute because it violates the following content security policy directive
0
cordova iframe violates the following content safety rules



All Articles
Loading...
X
Show
Funny
Dev
Pics