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

iOS: save video file to gallery should be optional

Open chriskhongqarma opened this issue 3 years ago • 0 comments

Feature Request

Motivation Behind Feature

Currently, the plugin saves video into gallery by default on iOS. Developers should have the control over whether the app should save the generated video into gallery or not.

Feature Description

a new param saveToGallery should be added with 2 values: 1 (save file to gallery) or 0 (not save file to gallery) This feature is not intended on Android because since Android 11, if we save the file into gallery (generated by the camera app), our app will not be able get access to that file. Therefore, file should be saved into a FileProvider, which is suggested in #215 PR.

chriskhongqarma avatar Apr 13 '21 11:04 chriskhongqarma