itinance/react-native-fs

How to save blob or binary data

开放

#69 创建于 2016年4月11日

 (16 条评论) (16 个反应) (0 位负责人)C++ (1,012 个派生)batch import
help wantedquestion

仓库指标

星标
 (5,043 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

response is a blob....

writeBlob(response){ return RNFS.writeFile(this.path + '/' + 'first.pdf', response, 'base64') .then((success) => { console.log('FILE WRITTEN!'); }) .catch((err) => { console.log(err.message); }); },

贡献者指南