forked from wkh237/react-native-fetch-blob
-
Notifications
You must be signed in to change notification settings - Fork 791
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Upon upgrading from 0.10.13 to 0.10.14, saving to a specified file on IOS has stopped working.
let fullPath = RNFetchBlob.fs.dirs.DocumentDir + '/test.txt';
let res = await RNFetchBlob
.config({ path: fullPath })
.fetch('GET', 'https://raw.githubusercontent.com/joltup/rn-fetch-blob/master/.gitignore');
console.warn(fullPath);
console.warn(res.path());
console.warn(res.info());
Under both versions, the first two logs give the same result (something like [...]/Library/Developer/CoreSimulator/Devices/F3CE7938-1974-467C-8183-C1F98AC74CCE/data/Containers/Data/Application/8F3721D5-7CC6-4CEC-8D96-1AB6B4CB26E6/Documents/test.txt
) and the last yields an object with the appropriate information (including status: 200
).
If I navigate to [...]/Documents/
folder when the app is built with 0.10.13, text.txt
exists. However, under 0.10.14, the folder remains empty.
dominic3, lorenzomilesi, FRizzonelli, JofBigHealth, aurelbe and 14 more
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working