Hi Cordova Dev!

Have just started to use Cordova in Android Studio.   I was at start planning 
to use phongap, but I have problems with the phonegap app, and went on with 
Cordova.  Here I have some problem, and that is to use javascript in the 
index.html file.  On the internet I have found  I have to add

<meta http-equiv="Content-Security-Policy" content="default-src * 
'unsafe-inline'; style-src 'self' 'unsafe-inline'; media-src *" />

To get it work (with inline JS, the unsafe-inline), but with no result. So, 
maybe there is something aI have to change in config.xml?

Any suggestions?


Best Regards, Svein-Tore

Reply via email to