{"repo":"edeckers/react-native-blob-courier","free":true,"listed":false,"github":"https://github.com/edeckers/react-native-blob-courier","clone":"git clone https://github.com/edeckers/react-native-blob-courier.git","description":"Use this library to efficiently download and upload blobs in React Native.","language":"Kotlin","stars":136,"topics":["react-native","blob","transfer","files","download","upload","courier","android","upload-blobs","ios"],"license":"MPL-2.0","category":"mobile-apps","readme_excerpt":"react-native-blob-courier Use this library to efficiently download and upload data in React Native. The library was inspired by rn-fetch-blob, and is focused strictly on http file transfers. Installation Requirements - Android = 24 - Android Gradle Plugin = 8.7 - iOS = 13.0 - JDK = 17 - React Native = 0.76.x (New Architecture) Usage The library provides both a fluent and a more concise interface. In the examples the concise approach is applied; fluent interface is demonstrated later in this document. Straightforward down- and upload Transfer progress reporting Managed download on Android (not available on iOS) Multipart upload Sometimes order of multipart fields matters, and Blob Courier respects the order in which parts are provided. There is a catch though: due to how JavaScript works, when object keys are regular strings they are kept in the order they were added unless the keys are strings containing numbers, e.g.: The way to work around this, is to wrap all keys in a Symbol , by using Symbol.for . Do not use Symbol( ) , this will not work, e.g.: Cancel request Fluent interface Blob Courier provides a fluent interface, that both protects you from using impossible setting combinations and arguably improves readability. Available methods fetchBlob(input: BlobFetchRequest) Required Field Type Description ---------- -------- ------------------------------------------------------------------- filename string The name the file will have on disk after fetch. mimeType string What","default_branch":null,"files":null,"tree":[],"storefront":"/r/edeckers","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/edeckers/react-native-blob-courier/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}