On windows phone 8.1 does not show me the photo.
My code is the following:
options: CameraOptions = {
quality: 50,
destinationType: this.camera.DestinationType.FILE_URI,
sourceType: this.camera.PictureSourceType.CAMERA,
allowEdit: false,
targetWidth: 600,
targetHeight: 600,
encodingType: this.camera.EncodingType.JPEG,
saveToPhotoAlbum: false,
correctOrientation:true
}
takeShot(){
try {
this.camera.getPicture(this.options).then((imageData) => {
this.images[this.currentImage] = imageData;
console.log("imagendata:");
console.log(imageData);
})
<ion-card *ngFor="let image of images; let i = index">
<ion-card-content no-padding no-margin>
<ion-item>
<img [src]= "image"/>
</ion-item>
what the log shows me is " ms-appdata:///local/camera_cordova_temp_return (19).jpg "
if I change in DestinationType by DATA_URL if it shows me the image but I can not load it in an email