joltup / rn-fetch-blob

A project committed to making file access and data transfer easier, efficient for React Native developers.
MIT License
2.84k stars 784 forks source link

Cant Find Downloaded video in Ios Library #743

Open prasanthvenkatachalam opened 3 years ago

prasanthvenkatachalam commented 3 years ago

Tried Downloading the video using the below-attached code. The video was downloaded but it's not found in iPhone Library. After Downloading I am getting a Downloaded response as /var/mobile/Containers/Data/Application/ED4915F3-463A-4354-B11-200CEB4/Downloads/video1629717207906.mp4.

How to make the downloaded video visible in iPhone Library?

RNFetchBlob.config({ appendExt: fileExt, path: RNFetchBlob.fs.dirs.DownloadDir + "/project1" + media_type + Math.floor(date.getTime() + date.getSeconds() / 2) + fileExt, }) .fetch("GET", path) .then((res) => { console.log("res", res.path()); }) .catch((Err) => console.log(Err, "==="));

Poojamok commented 2 years ago

hii could you find the solution?

retyui commented 2 years ago

This module is unmentionable ⚠️! please use fork: https://github.com/RonRadtke/react-native-blob-util

ashirkhan94 commented 1 year ago

same issue for me any update still stuck here for video