cordova-plugin-media-capture icon indicating copy to clipboard operation
cordova-plugin-media-capture copied to clipboard

fix(android): Write the recorded files to external storage directory, and pass in EXTRA_OUTPUT so the files can be read after onActivityResult is called

Open pencilcheck opened this issue 9 years ago • 0 comments

The original temporary cache directory is not readable since you cannot do playback what you just recorded in the camera app. Likewise causing the path not available after the the activity result has been called.

By changing the path to external storage directory and passing the EXTRA_OUTPUT options, it allows the file at data uri still able to be read.

pencilcheck avatar Nov 04 '14 08:11 pencilcheck