itinance/react-native-fs

How to save blob or binary data

Open

#69 建立於 2016年4月11日

在 GitHub 查看
 (16 留言) (16 反應) (0 負責人)C# (4,629 star) (919 fork)batch import
help wantedquestion

描述

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); }); },

貢獻者指南