title: Download not working using filetransfer plugin
body: <p>I used IonicNative plugin for downloading pdf files.</p>
  
  <p><a href="https://ionicframework.com/docs/native/file-transfer/" rel="nofollow noreferrer">https://ionicframework.com/docs/native/file-transfer/</a> </p>
  
  <p>I can see download complete using alert,but cannot see any download happening.</p>
  
  <pre><code>private filetransfer: FileTransferObject = this.transfer.create(); 
    const url = 'https://www.example.com/example%20test.pdf'; 
    this.filetransfer.download(url, this.file.dataDirectory + 'example%20test.pdf').then((entry) =&gt;
            {
                    alert('download complete: ' + entry.toURL());
            },
   (error) =&gt; {
                    alert(error);
  });
  </code></pre>
  
  <p>Is this the correct way to do or am I missing some thing?</p>