Closed jmorille closed 9 years ago
The corresponding isssue is open in cordova-android project https://issues.apache.org/jira/browse/CB-9277
I would consider this a bug in the plugin (worth opening an issue there).
Without fixing the plugin, you can work around it by lowering your app's CSP to allow unsafe-eval. See cspUnsafeEval
in manifest.mobile.json
:
https://github.com/MobileChromeApps/mobile-chrome-apps/blob/master/docs/NextSteps.md
Thank for the workaround, it is working.
This is not a bug of the plugins but a bug of cordova (cf for detail https://issues.apache.org/jira/browse/CB-9277). This bug is more in relation with the internal message system in cordova, that could means that could have an impact on many other plugins that could use this message processing.
In consequence, it is why I have also open this bug in cca to update as soon as possible the cordova dependency and to keep an eye with this ticket
You have write, It is a plugins problem because they use deprecated Apis. https://github.com/chariotsolutions/phonegap-nfc/issues/196
With NFC message consuming with the plugins
An error was raised by the cca (or cordova) framework with csp violation
That was raised by the method
of the corresponding function of cordova.js:1066