title: React Native - open local pdf file in application
body: <p>I have a pdf that I would like to display to a user once a button is clicked. I have been successful at showing the user a pdf from the like so:</p>
  
  <pre><code>&lt;TouchableOpacity onPress={() =&gt; Linking.openURL('www.somesite.com/manual.pdf')}&gt;
    &lt;Text&gt;See pdf&lt;/Text&gt;
  &lt;/TouchableOpacity&gt;
  </code></pre>
  
  <p>This was great as it opened up a native pdf reader and downloaded the content accordingly. I would like to achieve a similar result with a local application pdf file but I don't know how to achieve a similar effect using the openUrl api. </p>
  
  <p>I have seen answers an answer at <a href="https://stackoverflow.com/questions/11613505/how-to-open-local-pdf-file-in-webview-in-android">How to open local PDF file in WebView in Android?</a> but it seems like this solutions creates a webView component that has to be styled and laid out as an in app component. Its not what I want. I just want a native pdf viewer to read the local file content and do its thing.</p>