title: Open pdf in react-native using url
body: <p>I am using <a href="https://github.com/cnjon/react-native-pdf-view" rel="nofollow noreferrer">react-native-pdf-view</a> library to display pdf in react-native.Following is the render method of the component.</p>
  
  <pre><code>  return &lt;PDFView ref={(pdf)=&gt;{this.pdfView = pdf;}}
       path={"http://www.orimi.com/pdf-test.pdf"}
       onLoadComplete = {(pageCount)=&gt;{
          this.pdfView.setNativeProps({
              zoom: 1.5
          });
       }}
       style={styles.pdf}/&gt;
  </code></pre>
  
  <p>But this throws the following error:</p>
  
  <p><a href="https://i.stack.imgur.com/Fq4Ww.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Fq4Ww.png" alt="Error"></a></p>
  
  <p>Can someone let me know what I am doing wrong or suggest some other way to open pdf(using url) in react-native.</p>
  
  <p>P.S. I am creating android app on ubuntu.</p>