compiling my old ionic project with Xcode 9.2 I have problems with cordova-plugin-camera. This code:
$cordovaCamera.getPicture(options).then(function (imageData) {
var image = document.getElementById('myImage');
image.src = imageData;
});
Was perfect with Xcode 8, but now I can't see the preview of the image in img tag ...
Of course I set the content-security-policy:
<meta http-equiv="Content-Security-Policy" content="default-src * gap:;font-src 'self' data:; style-src * 'unsafe-inline'; script-src * 'unsafe-inline' 'unsafe-eval'; media-src *; img-src * filesystem: data:">
What else can I do???
Massimo
Try changing the img-src to