New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-native-fetch-blob

Package Overview
Dependencies
Maintainers
1
Versions
100
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-fetch-blob - npm Package Compare versions

Comparing version 0.5.2 to 0.5.3

android/src/main/java/com/RNFetchBlob/RNFetchBlobReq.java

2

package.json
{
"name": "react-native-fetch-blob",
"version": "0.5.2",
"version": "0.5.3",
"description": "A module provides upload, download, and files access API. Supports file stream read/write for process large files.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -1,7 +0,5 @@

# react-native-fetch-blob [![npm version](https://img.shields.io/badge/npm package-0.5.2-brightgreen.svg)](https://badge.fury.io/js/react-native-fetch-blob) ![](https://img.shields.io/badge/PR-Welcome-brightgreen.svg) ![](https://img.shields.io/badge/in progress-0.6.0-yellow.svg)
# react-native-fetch-blob [![npm version](https://img.shields.io/badge/npm package-0.5.3-brightgreen.svg)](https://badge.fury.io/js/react-native-fetch-blob) ![](https://img.shields.io/badge/PR-Welcome-brightgreen.svg) ![](https://img.shields.io/badge/in progress-0.6.0-yellow.svg)
A module provides upload, download, and files access API. Supports file stream read/write for process large files.
**[Please visit our Github for updated document](https://github.com/wkh237/react-native-fetch-blob)**
**Why do we need this**

@@ -31,2 +29,3 @@

* [Manage cached files](#user-content-manage-cached-files)
* [Self-Signed SSL Server](#user-content-selfsigned-ssl-server)
* [API](#user-content-api)

@@ -488,2 +487,16 @@ * [config](#user-content-configoptionsrnfetchblobconfigfetch)

#### Self-Signed SSL Server
By default, react-native-fetch-blob does NOT allow connection to unknown certification provider since it's dangerous. If you're going to connect a server with self-signed certification, add `trusty` to `config`. This function is available for version >= `0.5.3`
```js
RNFetchBlob.config({
trusty : true
})
.then('GET', 'https://mysite.com')
.then((resp) => {
// ...
})
```
---

@@ -764,6 +777,10 @@

#### trusty:boolean
`0.5.3`
Set this property to `true` will allow the request create connection with server have self-signed SSL certification. This is not recommended to use in production.
#### fileCache:boolean
Set this property to `true` will makes response data of the `fetch` stored in a temp file, by default the temp file will stored in App's own root folder with file name template `RNFetchBlob_tmp${timestamp}`.
#### appendExt:string
Set this propery to change temp file extension that created by `fetch` response data.
Set this property to change temp file extension that created by `fetch` response data.
#### path:string

@@ -821,3 +838,3 @@ When this property has value, `fetch` API will try to store response data in the path ignoring `fileCache` and `appendExt` property.

A `session` is an object that helps you manage files. It simply main a list of file path and let you use `dispose()`to delete files in this session once and for all.
A `session` is an object that helps you manage files. It simply maintains a list of file path and let you use `dispose()`to delete files in this session once and for all.

@@ -837,2 +854,3 @@ #### add(path:string):RNFetchBlobSession

|---|---|
| 0.5.3 | Add API for access untrusted SSL server |
| 0.5.2 | Fix improper url params bug [#26](https://github.com/wkh237/react-native-fetch-blob/issues/26) and change IOS HTTP implementation from NSURLConnection to NSURLSession |

@@ -857,3 +875,3 @@ | 0.5.0 | Upload/download with direct access to file storage, and also added file access APIs |

If you're interested in hacking this module, check our [development guide](https://github.com/wkh237/react-native-fetch-blob/wiki/Development-Guide), there might be some helpful information.
If you're interested in hacking this module, check our [development guide](https://github.com/wkh237/react-native-fetch-blob/wiki/Home), there might be some helpful information.
Please feel free to make a PR or file an issue.

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc