itinance/react-native-fs

How to save blob or binary data

Open

#69 aperta il 11 apr 2016

Vedi su GitHub
 (16 commenti) (16 reazioni) (0 assegnatari)C# (919 fork)batch import
help wantedquestion

Metriche repository

Star
 (4629 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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

Guida contributor