itinance/react-native-fs

How to save blob or binary data

オープン

#69 opened on 2016/04/11

 (16 件のコメント) (16 件のリアクション) (0 人の担当者)C++ (1,012 件のフォーク)batch import
help wantedquestion

Repository metrics

Stars
 (5,043 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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

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