react-native-wescan
v1.0.2
Published
React Native WeScan for IOS, Scan Document with crop functionality
Downloads
6
Readme
react-native-wescan
Getting started
$ npm install react-native-wescan --save
Mostly automatic installation
$ react-native link react-native-wescan
Manual installation
iOS
- In XCode, in the project navigator, right click
Libraries
➜Add Files to [your project's name]
- Go to
node_modules
➜react-native-wescan
and addRNWescan.xcodeproj
- In XCode, in the project navigator, select your project. Add
libRNWescan.a
to your project'sBuild Phases
➜Link Binary With Libraries
- 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
})