instascan icon indicating copy to clipboard operation
instascan copied to clipboard

CSP policy Violation: 'unsafe-eval' is not an allowed?

Open techsin opened this issue 6 years ago • 1 comments

Code Responsible

new Function("body","return function " + e + '() {\n "use strict"; return body.apply(this, arguments);\n};\n')(i)

techsin avatar Apr 03 '18 06:04 techsin

Hi Techsin,

Did you get any work around for this CSP error. I am getting the exact error while trying to use the instascan library in my internal certified react app. Any help is highly appreciated.

jitendrabhuyan avatar Jul 10 '19 09:07 jitendrabhuyan