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

貢獻者指南