title: Open any file on ionic
body: <p>I'm trying to open files with ionic, for that I use documentViewer ionic, but the problem is that I will not do it, I mean the cell phone has a pdf viewer and I will not open the pdf viewer with the file, but it directs me to play store and tells me to install an application to view pdf. Here I leave my code for that part:</p>
  
  <pre><code>this.documentView.viewDocument(url, type, {});
  </code></pre>
  
  <p>As you can see I pass the URL of the file, then the type, and finally nothing, which are the options of documentViewer, Tell me if I'm doing it right or if I should use the other library that is file opener</p>