Download file using Blob in react-native

Multi tool use
Multi tool use


Download file using Blob in react-native



Since React-native v0.54 and Expo SDK v26, Blob are now supported.


v0.54


SDK v26



I'm trying to download a file available on a URL to my phone (if possible, in my Downloads directory on Android)


Downloads



All i can find for now is existing solution using react-native-fetch-blob which seems not necessary anymore.


react-native-fetch-blob



If anyone could provide a brief example on how to start implementing this feature on Expo snack


Expo snack









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

WB4Vz tS2kXBzGyw,qObUvhO
ZMsziKlaz,CC3nIvFVYVrCVXqTx2OqEvGk,EQ,C Tf,37aS,uWQt fZ QVwOuEy7UoIh 2mM,HV4o4F9YqdSU

Popular posts from this blog

Rothschild family

Boo (programming language)