/ PDF

A react native PDF view component

A react native PDF view component

react-native-pdf

A react native PDF view component (cross-platform support)

Feature

  • read a PDF from url/local file/asset and can cache it.
  • display horizontally or vertically
  • drag and zoom
  • double tap for zoom
  • support password protected pdf

Installation

We use react-native-fetch-blob to handle file system access in this package,
So you should install react-native-pdf and react-native-fetch-blob

npm install react-native-fetch-blob --save
npm install react-native-pdf --save

react-native link react-native-fetch-blob
react-native link react-native-pdf

GitHub