I am trying to use a dart package for a paper element and it works well when I launch it as a web page, but I have several CSPs when I launch it as a Chrome batch application . All of them belong to the built-in script of the package, and the user element is not displayed:
An inline script was denied because it violates the following content security policy directive: "default-src" self 'chrome-extension-resource: ". To enable inline execution, either the" insecure-inline "keyword or a hash (" sha256 - ... "), or nonce (" nonce -... "). Also note that 'script -src' was not explicitly installed, so 'default-src' is used as a backup. core-icon.html: 43
- Has anyone used a dart paper item successfully in a chrome packaged app?
- Is there any way to disable this csp from manifest?
Here is my sample project
source
share