问题
It´s possible to save a video on React-Native using cameraRoll, for images with saveImageWithTag() it´s easy but i can´t found documentation for videos.
回答1:
It is very easy to save a video to CameraRoll, I did it with the following line of code.
saveVideoToCameraRoll = async (uri) => {
await CameraRoll.saveToCameraRoll(uri, 'video')
}
NB: Obviously this function expects a uri or filePath
of your video.
来源:https://stackoverflow.com/questions/35258483/save-video-to-cameraroll-react-native