title: Not able to open PDF url using DocumentViewer ionic 4
body: <p>I have a pdf URL and I want to open it using <code>DocumentViewer</code>. When I run code:</p>
  
  <pre><code>this._document.viewDocument(pdfUrl, 'application/pdf', options);
  </code></pre>
  
  <p>It is not opening PDF. I tried downloading PDF to my mobile and then open it. Please find code below:</p>
  
  <pre><code>transfer.download(downloadUrl, filename).then(entry =&gt; {
        const url = entry.toURL();
        if (this._plt.is('ios')) {
          this._document.viewDocument(pdfUrl, 'application/pdf', options);
        } else {
          this._fileOpener.open(pdfUrl, 'application/pdf')
            .then(() =&gt; console.log('File is opened'))
            .catch(e =&gt; this.presentAlert('Error opening file', e));
        }
      });
  </code></pre>
  
  <p>I have tables and images in my PDF. When I ran above code I am not able to see HTML5 tables in the PDF.</p>
  
  <p>I need help on how to open up PDF URL directly using <code>DocumentViewer</code>.</p>
  
  <p><strong>NOTE:</strong> I have seen a couple of post on StackOverflow suggesting to use <code>InAppBrowser</code>. I have a requirement where I need to display it as PDF.</p>