Skip to content

palmsnipe/react-native-pdf-reader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-native-pdf-reader

Installation

  • Run npm install palmsnipe/react-native-pdf-reader --save to install using npm.

  • Add the following two lines to android/settings.gradle:

include ':react-native-pdf-reader'
project(':react-native-pdf-reader').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-pdf-reader')
  • Edit android/app/build.gradle and add the annoated lines as below:
...

dependencies {
    compile fileTree(dir: "libs", include: ["*.jar"])
    compile "com.android.support:appcompat-v7:25.0.1"
    compile "com.facebook.react:react-native:+"
    compile project(':react-native-pdf-reader')  // <- Add this line
}

About

Pdf reader for Android

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published