🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

react-native-androiddocumentscanner

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-androiddocumentscanner

React Native Document Scanner for Android, Scan Document with crop functionality

1.0.0
latest
Source
npm
Version published
Weekly downloads
4
33.33%
Maintainers
1
Weekly downloads
 
Created
Source

react-native-androiddocumentscanner

Getting started

$ npm install react-native-androiddocumentscanner --save

Mostly automatic installation

$ react-native link react-native-androiddocumentscanner

Manual installation

Android

  • 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
  • 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')
    
  • 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;

Keywords

react-native

FAQs

Package last updated on 21 Sep 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts