You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to remove videos after they have been uploaded using react-native-fs. Even though react-native-fs is unlinking the file and it cannot be accessed anymore, the memory footprint for the app does not change. Is there a way to remove the recorded video files?
I raised this issue with react-native-fs repo but it might have something to do with where the videos are stored.
Hi,
Well normally the videos are not saved in the asset library but in a temporary directory, is the video removed if you close/open the app ?
Maybe you could directly check if the file still exists after your delete it.
@tomtang539 did you ever figure this out? Also, how are you moving the video around? I actually in some cases want to keep the file locally on the device. My plan was just to move the private file using react-native-fs's moveFile method in the save callback. Do I need to also call unlink on the original temp file and does it work?
I'm trying to remove videos after they have been uploaded using react-native-fs. Even though react-native-fs is unlinking the file and it cannot be accessed anymore, the memory footprint for the app does not change. Is there a way to remove the recorded video files?
I raised this issue with react-native-fs repo but it might have something to do with where the videos are stored.
itinance/react-native-fs#41 (comment)
The text was updated successfully, but these errors were encountered: