Open linked PDF from Webview within the APP

  1. SDK Version: Latest, i.e. 44
  2. Platforms(Android/iOS/web/all): Both
  3. Add the appropriate “Tag” based on what Expo library you have a question on.

Hi all,

Im pretty new to Expo and really LOVE it!
What I couldnt find yet is an answer to the following question:

I’m building a wrapper app for my responsive webpage.
Hence I’m using react-native-webview to display the page in the Expo app. So far so good.

I have several linked PDFs (normal HTML links like Link) which I want to open directly within my generated app, as a separate view.

Is there such a possibility? I found the librarys react-native-pdf, react-native-view-pdf, but those seem to be native libraries which do NOT work :frowning: rn-pdf-reader-js seems outdated and only compatible with older Expo SDK versions.

I do want to prevent that the Link opens in the external browser of the user and from there first downloads into the file system… I want to display it directly.

What would be the easiest way to achieve that?

Thank you soo much!!!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.