Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

388
Views
TypeError: null no es un objeto (evaluando 'RNFetchBlob.DocumentDir'). Después de importar RNFetchBlob, aparece este error. ¿Alguien puede ayudarme?

TypeError: null no es un objeto (evaluando 'RNFetchBlob.DocumentDir') Cualquiera puede ayudarme con este error, por favor, RNFetchblob también lo instalé e importé correctamente.

 import RNFetchBlob from 'rn-fetch-blob'; const downloadImage = () => { let date = new Date() let image_URL = IMAGE_PATH let ext = getExtention(image_URL) ext = '.' + ext[0] const { config, fs } = RNFetchBlob let PictureDir = fs.dirs.PictureDir let options = { fileCache: true, addAndroidDownloads: { useDownloadManager: true, notification: true, path: PictureDir + '/image_' + Math.floor(date.getTime() + date.getSeconds() / 2) + ext, description: 'Image' } } config(options) .fetch('GET', image_URL) .then(res => { console.log('res -> ', JSON.stringify(res)) alert('Image Donwload Successfully') }) }
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Este problema se resuelve aquí en la documentación del componente [https://github.com/joltup/rn-fetch-blob/issues/422][1]

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!