react-native-pdf-to-image-converter

2.2.2 • Public • Published

react-native-pdf-to-image-converter

Getting started

$ npm install react-native-pdf-to-image-converter --save

Mostly automatic installation

$ react-native link react-native-pdf-to-image-converter

Manual installation

Android

  1. Open up android/app/src/main/java/[...]/MainActivity.java
  • Add import com.reactlibrary.RNPdfToImageConverterPackage; to the imports at the top of the file
  • Add new RNPdfToImageConverterPackage() to the list returned by the getPackages() method
  1. Append the following lines to android/settings.gradle:
    include ':react-native-pdf-to-image-converter'
    project(':react-native-pdf-to-image-converter').projectDir = new File(rootProject.projectDir, 	'../node_modules/react-native-pdf-to-image-converter/android')
    
  2. Insert the following lines inside the dependencies block in android/app/build.gradle:
      compile project(':react-native-pdf-to-image-converter')
    

Usage

import RNPdfToImageConverter from 'react-native-pdf-to-image-converter';
 
// TODO: What to do with the module?
RNPdfToImageConverter;

Package Sidebar

Install

npm i react-native-pdf-to-image-converter

Weekly Downloads

4

Version

2.2.2

License

none

Unpacked Size

11 kB

Total Files

14

Last publish

Collaborators

  • theycallmedev