after looking into src/android/CameraLauncher.java i found out that at the end
of taking the picture method it is called this.cleanup(FILE_URI,
this.imageUri.getFileUri(), galleryUri, bitmap) - the second parameter is the
actual file created by the camera when image is taken. i went to cleanup method
and there it is written // Clean up initial camera-written image file.
(new File(FileHelper.stripFileProtocol(oldImage.toString()))).delete();
- is this working or not because it should delete the original image but it
seems that it doesn't. i ask the creator to test again if this works or not
else to update the package and do it functional - otherwise all developers who
use take picture will end up with duplicate images.
[ Full content available at:
https://github.com/apache/cordova-plugin-camera/issues/337 ]
This message was relayed via gitbox.apache.org for [email protected]