calculusdev opened a new issue, #249: URL: https://github.com/apache/cordova-plugin-media-capture/issues/249
# Bug Report ## Problem Launch the camera to capture a photo; take the photo; examine the opject returned. The `fullPath` property of the returned object is something like `file:///storage/emulated/0/Pictures/1652174370741.jpg`, while the image file is actually saved to something like `file:///storage/emulated/0/DCIM/Camera/IMG_20220510_101151.jpg`. ### What is expected to happen? The correct file path is returned for the newly-created file. ### What does actually happen? An incorrect file path is returned. Although the photo is saved to disk, there is no way to identify it from the information returned. ## Information The _video_ capture works fine. The `fullPath` property of the returned object is like `file:///storage/emulated/0/DCIM/Camera/VID_20220510_101151.mp4`, and that's the actual path to the saved file. At least one other person has mentioned a permissions problem causing problems with accessing the file from the information returned. I don't believe this is anything to do with permissions, given that the image file actually saves, and it works fine for video files. (I can't try audio - I get a "No Activity found the handle Audio Capture" error.) ### Environment, Platform, Device Nokia 7.2 Android 11 ### Version information Cordova Android 10.1.2 Media capture plugin versions 3.0.3 and 4.0.0-dev (I've not investigated video behaviour in 3.0.3). File plugin versions 6.0.2 (for 3.0.3) and 7.0.0 (for 4.0.0-dev) Awesome Cordova plugins wrapper version 5.39.1 ## Checklist - [x] I searched for existing GitHub issues - [x] I updated all Cordova tooling to most recent version - [x] I included all the necessary information above -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
