I encountered an issue with my code
Not allowed to load local resource: file:///var/mobile/Containers/Data/Application/AB6EABD9-CAAF-4AE5-91F9-D8042B34EA87/tmp/cdv_photo_002.jpg
This is the code snippet causing the problem
let cameraOptions = {
quality: 50,
destinationType: this.camera.DestinationType.FILE_URI,
encodingType: this.camera.EncodingType.JPEG,
mediaType: this.camera.MediaType.PICTURE
}
this.camera.getPicture(cameraOptions).then((imageData) => {
this.myImage = imageData;
})
While it works fine on Android, I cannot resolve this issue on iOS. I suspect it may be related to a security concern. Any assistance in resolving this would be greatly appreciated.