title: How to download a file (image,gif,etc..) in react native
body: <blockquote>
    <p>I have tried this code but my app is crashing without showing any error , i couldnt figure out what is the error</p>
  </blockquote>
  
  <pre><code>const {config,fs} = RNFetchBlob;
  const { params } = this.props.navigation.state;
  let PictureDir = fs.dirs.PictureDir // this is the pictures directory. You can check the available directories in the wiki.
  let options = {
  fileCache: true,
  addAndroidDownloads : {
      useDownloadManager : false, // setting it to true will use the device's native download manager and will be shown in the notification bar.
      notification : false,
      path:  PictureDir + "/me_image", // this is the path where your downloaded file will live in
      }
  }
  config(options).fetch('GET',url).then((res) =&gt; {
      alert('Done');
  })
  </code></pre>