Steps to Reproduce
*saveToPhotoGallery* property must be set to *false*
var showCamera = function() {
Ti.Media.showCamera({
success:function(event) {
alert('success');
},
cancel:function() {
// called when user cancels taking a picture
},
error:function(error) {
alert('error');
},
saveToPhotoGallery:false,
// allowEditing and mediaTypes are iOS-only settings
});
};
showCamera();
Actual Result
Every photo taken by camera (no matter if later saved or not) will take some space (data on device). There is no way to release that space or get that file, so it will continuously increase taken space until no space is left.
If you save the image after taking it, than the space taken is doubled (you create additional file). Of course you can delete saved image but it will only release half of taken space.
There is no problem if *saveToPhotoGallery* is set to *true*
Expected Result
Space taken by the image should be released or there should be the way to get the files taking that space.