Getting image gps details using cordova-plugin-camera-with-exif

#1

Using cordova-plugin-camera-with-exif to get image gps details.
But, always getting below error
“{ “error”: “Unable to read exif data from remote URI” }”

Code:

this.camera.getPicture(options).then((imageData) => {
const cameraDetail = JSON.parse(imageData);
const exifData = JSON.parse(cameraDetail.json_metadata);
const output: Output = {
base64: data:image/jpeg;base64,${cameraDetail.filename},
exifDetail: exifData
};

this.mypic.unshift(output); 


}, (err) => {
  console.log('error : EXIF',err);
});

Any help,
Thanks in advance