I am downloading a file from using FileSystem.downloadAsync(). it is downloaded successfully and runs on device well but when i am save that file on device i am not been able to find in memory, the path where it is saving file on ios is
file:///var/mobile/Containers/Data/Application/12BC6EB4-C2C6-4754-B738-96EED6347593/Documents/ExponentExperienceData/%2540mghazanfar89%252FDancingBook/TEST.mp4.
what could be the possible solution if want to open my downloaded video with like gallery or camera roll.
here is my code .
FileSystem.downloadAsync(
‘https://s3.amazonaws.com/dancebook-development/mov.mp4’,
FileSystem.documentDirectory+‘TEST.mp4’
) .then(({ uri }) => {
console.log(‘uri is ::’, uri);
self.setState({video:uri, showVideo:true});
console.log('Finished downloading to ', uri);
})
.catch(error => {
console.error(error);
})