[
https://issues.apache.org/jira/browse/CB-10624?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15151951#comment-15151951
]
ASF GitHub Bot commented on CB-10624:
-------------------------------------
Github user jcesarmobile commented on the pull request:
https://github.com/apache/cordova-plugin-whitelist/pull/17#issuecomment-185598264
+1
In addition, it's not consistent with other platforms. Android is the only
one that shows this warning.
We should encorage users to use the CSP, but not sure if showing a warning
is the best way of doing it.
Most answers on stackoverflow questiongs about this warning just tell how
to use an empty CSP so it stops complaining or use CSP that allows everything.
> whitelist.js shouldn't detect for CSP and throw error message
> -------------------------------------------------------------
>
> Key: CB-10624
> URL: https://issues.apache.org/jira/browse/CB-10624
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin Whitelist
> Reporter: Edna Morales
> Assignee: Edna Morales
> Priority: Minor
>
> Whitelist plugin throws "No Content-Security-Policy meta tag found. Please
> add one when using the cordova-plugin-whitelist plugin." error. whitelist.js
> shouldn't detect for CSP and throw an error if not present since it's only
> applicable to Android and is not necessary for the whitelist plugin to work.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]