Skip to content
This repository has been archived by the owner on Apr 2, 2018. It is now read-only.

Event Generation Causes CSP Violation for Android #42

Open
nusculus opened this issue Nov 6, 2014 · 5 comments
Open

Event Generation Causes CSP Violation for Android #42

nusculus opened this issue Nov 6, 2014 · 5 comments

Comments

@nusculus
Copy link

nusculus commented Nov 6, 2014

For Android, this plugin calls appView.sendJavascript() which is a deprecated method. In turn, that method causes a CSP (Content-Security-Policy) violation unless 'unsafe-eval' is used in the policy rules. Updating the generation of the event would be helpful since I am trying to implement good security, plus that sendJavascript() call must eventually go away. I have not looked at iOS.

@sebasi
Copy link

sebasi commented Aug 6, 2015

I am having the same issue. Is there any update on this?

@dcousens
Copy link

This is still the case. Any fix for this? I'm unable to compromise on the CSP so this is a blocker on my ability to use this plugin right now :(

@dcousens
Copy link

Seems to have been a fix for sendJavascript, though I'm still seeing errors. Will report back.

@dcousens
Copy link

Ah, 1.0.6 hasn't been published yet.
Ping @mlynch @adamdbradley @tlancina

@tlancina
Copy link
Contributor

tlancina commented Oct 1, 2015

It should be available, Make sure to use ionic-plugin-keyboard to install
from npm, since the registry has been made read only:
https://cordova.apache.org/news/2015/09/08/CPR-readonly.html

On Wed, Sep 30, 2015 at 9:01 AM Daniel Cousens notifications@github.com
wrote:

Ah, 1.0.6 hasn't been published yet.
Ping @mlynch https://github.com/mlynch @adamdbradley
https://github.com/adamdbradley @tlancina https://github.com/tlancina


Reply to this email directly or view it on GitHub
#42 (comment)
.

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

No branches or pull requests

4 participants