title: Download pdf file from firebase storage ioinc 5
body: <p>I am trying to download pdf file in ionic 5 application, which is stored in firebase storage i tried using filetransfer but file not downloading in my device it gives entry url this</p>
  <p>file:///data/user/0/io.ionic.starter/files/test.pdf</p>
  <p>Here the Download function</p>
  <pre><code>download(downloadUrl: string) {
    console.log(downloadUrl);
  
     this.fileTransfer.download(downloadUrl,this.file.dataDirectory +'test.pdf').then((entry) =&gt; {
      console.log('download complete: ' + entry.toURL());
  
      }, (error) =&gt; {
    
      });
      
    }
  </code></pre>