Media Capture wrong path

Hi,

I use ionic native media capture in my project. I can take photo and record it successfully. However the fullPath path returned to me is wrong.
The path is returning is file: ///storage/emulated/0/Pictures/1505475501089.jpg
The path should be: file: ///storage/emulated/0/DCIM/Camera/20170925_130845.jpg
what is the reason for this?

fileTransfer.upload(data.fullPath, remoteEndUp, options)
.then((data) => {
console.log(data);
}, (err) => {
console.log(err, err.body);
});

I have the exact same issue… maybe a bug? Ive seen a few posts with people with the same issue but no answers yet. I’m going to try and use the Camera plugin instead.

1 Like