Please provide the following:
- SDK Version:
- Platforms(Android/iOS/web/all):
- Add the appropriate “Tag” based on what Expo library you have a question on.
Replace this section with as much relevant information as possible and any relevant code along with your question.
En web, hago este consumo para descargar un pdf o archivo en el servidor:
let response = await Fetcher({
method: ‘GET’,
url: url,
responseType: ‘blob’,
headers
});
const file = new Blob([response.data], {
type: response.data.type
});
const link = document.createElement(‘a’);
link.href = URL.createObjectURL(file);
link.setAttribute(‘download’, name)
document.body.appendChild(link)
link.click();
Y funciona a la perfección, pero en react native Expo no me deja. Alguna idea para descargar pdf alojados en el servidor o la manera correcta de hacer los últimos pasos en Expo