“No Content-Security-Policy meta tag found.” error in my phonegap application

后端 未结 6 715
再見小時候
再見小時候 2020-11-27 10:28

After update Cordova 5.0 in my system, I create new applications. When I tested my application on a device that time I get an error in the console log:

No Co         


        
6条回答
  •  鱼传尺愫
    2020-11-27 10:57

    For me it was enough to reinstall whitelist plugin:

    cordova plugin remove cordova-plugin-whitelist
    

    and then

    cordova plugin add cordova-plugin-whitelist
    

    It looks like updating from previous versions of Cordova was not succesful.

提交回复
热议问题