-
Notifications
You must be signed in to change notification settings - Fork 1.6k
[QUESTION] How to use RNFetchBlob.fs.df() ? #302
Comments
RNFetchBlob.fs.df()
?
@ValBerthe , we've fixed the issue #276 but not yet release to npm. You can try to install the package from branch |
Updated to
|
@ValBerthe , I have committed a fix to branch |
@wkh237 Updated Output is
Free space seems better, even though it is not the same value as expected by RNFS. Total space is still the same. |
@ValBerthe , thanks for quick response. I've just changed the implementation, you can install the package again from the same branch issue-302` now 👍 |
@wkh237 Updated The output is the same as previously. Have you managed to run a working version of the feature ? Are I'll check this out myself when I have a minute. |
@ValBerthe , I can only test it on the simulator but the result looks to make sense. Not sure if I missed something ? |
Using
react-native-fetch-blob 0.10.2
Using xcode and iPhone 6S emulator, iOS 10.2
Using
react-native 0.42
I am working on a project using RNFS, but since they recommend to use RNFetchBlob, I'm going to refactor everything. Among other features, I'm using RNFS's
getFSInfo()
in order to retrieve free storage space left. So, as 0.10.0 introduceddf()
, I would like to know how it works (wiki section is empty).I have those noticeable differences :
Why those differences ? Is it a matter of emulator's storage/laptop storage ? Why is RNFetchBlob's
total
a negative number ?The text was updated successfully, but these errors were encountered: