as I think , this will output the data of the image
let cameraOptions = {
destinationType: this.camera.DestinationType.DATA_URL
}
but this will will output the path of the image
let cameraOptions = {
destinationType: this.camera.DestinationType.FILE_URL
}
I want to output both - as long as I’ll upload the image data and need the path also
please mention this part in your answer if some changes required in it
this.camera.getPicture(cameraOptions).then((data) => {
this.imgDate = 'data:image/jpeg;base64,' + data;
});