- 커스텀 다운로드 프로그레스 모달 예시 : https://medium.com/swlh/how-to-implement-download-system-on-react-native-73f643cef303
설치
모듈 설치
$ npm install --save rn-fetch-blob # or $ yarn add rn-fetch-blob
Podfile
수정 (ios)
- Podfile에 아래 라인을 추가해줘야 에러가 나지 않는다.
pod 'rn-fetch-blob', :path => '../node_modules/rn-fetch-blob'
링킹 진행 (ios)
$ cd ios $ pod install
사용법 (ES6)
import RNFetchBlob from 'rn-fetch-blob';
rn-fetch-blob