itinance/react-native-fs

How to save blob or binary data

Open

#69 opened on 2016年4月11日

GitHub で見る
 (16 comments) (16 reactions) (0 assignees)C# (4,629 stars) (919 forks)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); }); },

コントリビューターガイド

How to save blob or binary data · itinance/react-native-fs#69 | Good First Issue