itinance/react-native-fs

How to save blob or binary data

Open

#69 geöffnet am 11. Apr. 2016

Auf GitHub ansehen
 (16 Kommentare) (16 Reaktionen) (0 zugewiesene Personen)C# (4.629 Stars) (919 Forks)batch import
help wantedquestion

Beschreibung

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

Contributor Guide