npm.io
1.0.2 • Published 5 years ago

react-native-wescan

Licence
MIT
Version
1.0.2
Deps
0
Size
122 kB
Vulns
0
Weekly
0
Stars
3

NPM downloads NPM version License Follow on Twitter

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 Libraries ➜ Add Files to [your project's name]
  2. Go to node_modules ➜ react-native-wescan and add RNWescan.xcodeproj
  3. In XCode, in the project navigator, select your project. Add libRNWescan.a to your project's Build Phases ➜ Link 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
})

Keywords