Unable to show Firebase stored images (whitelist?)


#1

Hi, i’m storing images in firebase and then showing them on ionic, at least trying to.
When i build my project it throws and error that it’s violating a policy of "img-src ‘self’ ‘unsafe-inline’ ‘unsafe-eval’ data:"
But it auto create that meta tag:

<meta http-equiv="Content-Security-Policy" content="img-src 'self' 'unsafe-inline' 'unsafe-eval' data:; default-src *; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline' 'unsafe-eval'">

this is my config.xml:

 <access origin="*" />
 <allow-navigation href="*" />
 <allow-navigation href="data:*" />
 <allow-navigation href="img:*" />
 <allow-intent href="*" />
 <allow-intent href="http://*/*" />
 <allow-intent href="https://*/*" />
 <allow-intent href="tel:*" />
 <allow-intent href="sms:*" />
 <allow-intent href="mailto:*" />
 <allow-intent href="geo:*" />

can someone help me?


#2

Ok, now i’ve put *"img-src " all my index.html SCP.
It sometimes throws the error, but loads the image.