react-native-fs icon indicating copy to clipboard operation
react-native-fs copied to clipboard

why can not find the downloadfile in android?

Open WKingIce opened this issue 7 years ago • 4 comments

print path like:/data/user/0/com.reactnativefstest/files/698.jpg,but the file does not exist

WKingIce avatar Mar 16 '17 02:03 WKingIce

use the https://github.com/cjdell/react-native-fs-test project

WKingIce avatar Mar 16 '17 03:03 WKingIce

I found using RNFS.ExternalDirectoryPath instead of RNFS.DocumentDirectoryPath allowed my code to work

sedders123 avatar Mar 24 '17 08:03 sedders123

@sedders123 right,but only use RNFS.ExternalStorageDirectoryPath that can find downloaded file in android,other path can't find downloaded file

WKingIce avatar Mar 30 '17 06:03 WKingIce

Going to system files and still cannot locate it. path looks similar as well @CandyKTN. Any ideas?

my-name-is-nheo avatar Apr 29 '22 15:04 my-name-is-nheo