This is the first release of rn-fetch-blob! 🎉 You can install it from npm at https://www.npmjs.com/package/rn-fetch-blob.
This release includes many bugfixes. Many thanks to those who have contributed, since moving to this new repository we have merged 13 pull requests from contributors! 😀
Some bugfixes/changes include:
-
Callback based APIs now use promises
-
Updated SDCardDir and SDCardApplicationDir API #77
- SDCardDir as a constant is deprecated and will be removed in feature release. Use RNFetchBlob.android.getSDCardDir():Promise instead.
- SDCardApplicationDir as a constant is deprecated and will be removed in feature release. Use RNFetchBlob.android.getSDCardApplicationDir():Promise instead. This variable can be empty on error in native code.
-
Prevent crashing when there is no external files directory #62
-
Support Android content URIs for uploading: #45
-
Reject openDocument promise on iOS if an error occurs: #41
-
Large refactor to clean up code and improve general efficiency: #8
There are several more fixes that were implemented in the original react-native-fetch-blob
repository as well. In general testing we have found this release to be working great in our app at Joltup, please open new issues if you run into any bugs/problems