react-native-androiddocumentscanner

1.0.0 • Public • Published

react-native-androiddocumentscanner

Getting started

$ npm install react-native-androiddocumentscanner --save

Mostly automatic installation

$ react-native link react-native-androiddocumentscanner

Manual installation

Android

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

Usage

import RNAndroiddocumentscanner from 'react-native-androiddocumentscanner';

// TODO: What to do with the module?
RNAndroiddocumentscanner;

Package Sidebar

Install

npm i react-native-androiddocumentscanner

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

8.93 kB

Total Files

10

Last publish

Collaborators

  • rf1804