мне нужно скопировать этот файл и указать его путь
i пытался показать файлы с помощью реакции-native-fs
Код: Выделить всё
RNFS.readDir(RNFS.DocumentDirectoryPath) // On Android, use "RNFS.DocumentDirectoryPath" (MainBundlePath is not defined)
.then((result) => {
console.log('GOT RESULT', result);
// stat the first file
return Promise.all([RNFS.stat(result[0].path), result[0].path]);
})
Подробнее здесь: https://stackoverflow.com/questions/789 ... -the-phone
Мобильная версия