Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-9133

CDVFILE NOT WORKING???

    XMLWordPrintableJSON

Details

    • Important

    Description

      I used the instructions here:
      https://github.com/apache/cordova-plugin-whitelist

      I have this in my config.xml file:
      <access origin="*" />
      <allow-navigation href="*" />
      <allow-intent href="*" />

      I have this in my .HTML file:
      <meta http-equiv="Content-Security-Policy" content="default-src *; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline' 'unsafe-eval'">

      I get these errors:

      Refused to load the script 'http://d3aq14vri881or.cloudfront.net/kiip.js' because it violates the following Content Security Policy directive: "script-src 'self' 'unsafe-inline' 'unsafe-eval'".

      Refused to load the script 'cdvfile://localhost/persistent/free.min.js' because it violates the following Content Security Policy directive: "script-src 'self' 'unsafe-inline' 'unsafe-eval'".

      HELP?!

      Attachments

        Issue Links

          Activity

            People

              bowserj Joey Robert Bowser
              agamemnus Michael Romanovsky
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m