Cordova Slack Digest

Sun, 26 Sep 2021 08:20:54 GMT

User count: 4629

Join the conversation at slack.cordova.io

Channel #general (2 messages)


Sat, 25 Sep 2021 20:32:36 GMT

@costagauci says

Hi, I am having a bit of trouble with my Content Security Policy. When I change source too img-src 'self' <https://domainname.com/*> data: blob: cdvphotolibrary: the images from the domain name stop loading? However when it is set as follows img-src * data: blob: cdvphotolibrary: they work fine? Please help.

This is the whole meta tag:

&lt;meta http-equiv="Content-Security-Policy" content="default-src * data: cdvfile: file: gap: ws: <https://ssl.gstatic.com>; style-src 'self' <https://domainname.com/*> 'unsafe-inline'; script-src 'self' <https://domainname.com/*> 'unsafe-inline' 'unsafe-eval'; img-src * data: blob: cdvphotolibrary:"&gt;

Sat, 25 Sep 2021 20:46:49 GMT

@dpogue says

try just <https://domainname.com> without the /* at the end

Channel #plugins (1 messages)


Sun, 26 Sep 2021 06:39:00 GMT

@prasunjajodia says

I think you can safely remove cordova-plugin-whiteist in cordova-android 10.x