jschillingApollo opened a new issue, #263: URL: https://github.com/apache/cordova-plugin-media-capture/issues/263
# Feature Request ## Motivation Behind Feature <!-- Why should this feature be implemented? What problem does it solve? --> The app that I help develop is currently able to record video and pictures and, after those files have been uploading to a server, the files need to be deleted from the device. This is becoming a very big issue for our Android users. Videos are automatically stored to external storage and are visible in the photo gallery. There are currently no options to prevent storage to external storage and because of this there is no way to delete the video files with our app in API 29+. This problem would also exist for our users when taking photos, but we opted to use a different plugin for pictures. In the `cordova-plugin-camera` plugin, there is a `cameraOption` called `saveToPhotoAlbum` which can be set to false to save the photo file to app storage instead of the external storage. In this case, the developer can use the filesystem plugin to delete the file when necessary and this works in API 29+. The one downside is that the camera plugin doesn't offer video recording which is why we are using media-capture plugin for video. ## Feature Description <!-- Describe your feature request in detail Please provide any code examples or screenshots of what this feature would look like Are there any drawbacks? Will this break anything for existing users? --> The media-capture plugin should be updated to support storing captures to locations other than external storage since modifying files in that location is no longer possible on newer versions (API 29+) of Android. At minimum, the developer should be able to configure the plugin to store captures to app storage, outside of the device's gallery. Being able to configure the plugin to store to any storage location on the device would be a bonus, though not fully necessary. ## Alternatives or Workarounds <!-- Describe alternatives or workarounds you are currently using Are there ways to do this with existing functionality? --> I have not yet found any alternative solution to this problem. I did find [another issue](https://github.com/apache/cordova-plugin-media-capture/issues/210) from early 2021 regarding a similar feature request, but progress seemed to have entirely stalled on that issue. -- 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]
