Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSP violation unsafe-eval #381

Closed
smithgeek opened this issue Oct 11, 2017 · 1 comment
Closed

CSP violation unsafe-eval #381

smithgeek opened this issue Oct 11, 2017 · 1 comment

Comments

@smithgeek
Copy link

We're getting a CSP error due to the fact that you're using sendJavascript from the java code which does an eval in javascript which violates our CSP policy. Any chance you'd be willing to change how this works?

https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/blob/53b468578e572019b75e8f420e759e3d6fc3ef69/src/android/io/branch/BranchSDK.java#L811

ethanneff added a commit that referenced this issue Oct 17, 2017
@ethanneff
Copy link
Contributor

I have just updated the Branch Cordova SDK (75ef406). I would recommend updating to the latest version 2.6.15. You can use this guide to update your Cordova Branch SDK.

Thanks,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants