Skip to content

Latest commit

 

History

History
31 lines (18 loc) · 753 Bytes

README.md

File metadata and controls

31 lines (18 loc) · 753 Bytes

react-native-wescan

Getting started

$ npm install react-native-wescan --save

Mostly automatic installation

$ react-native link react-native-wescan

Manual installation

iOS

  1. In XCode, in the project navigator, right click LibrariesAdd Files to [your project's name]
  2. Go to node_modulesreact-native-wescan and add RNWescan.xcodeproj
  3. In XCode, in the project navigator, select your project. Add libRNWescan.a to your project's Build PhasesLink Binary With Libraries
  4. Run your project (Cmd+R)<

Usage

import RNWescan from 'react-native-wescan';


RNWescan.scanDocument((response) => {
  console.log(response) //It will give the private path of the final image
})