# react-native-wescan

> React Native WeScan for IOS, Scan Document with crop functionality

Latest version **1.0.2** (published 2021-01-20) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-native-wescan
pnpm add react-native-wescan
yarn add react-native-wescan
bun add react-native-wescan
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2021-01-20 |
| First published | 2018-09-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 122.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Mohamad Arif Raja |
| Maintainers | rf1804 |
| Keywords | react-native, WeScan, ios |

## Links

- npm: https://www.npmjs.com/package/react-native-wescan
- Repository: https://github.com/rf1804/react-native-wescan
- Homepage: https://github.com/rf1804/react-native-wescan#readme
- Issues: https://github.com/rf1804/react-native-wescan/issues
- npm.io page: https://npm.io/package/react-native-wescan

## Recent versions

- 1.0.2 (latest) — 2021-01-20
- 1.0.1 — 2018-09-13
- 1.0.0 — 2018-09-11

## README

<p align="center">
  <a href="https://www.npmjs.com/package/react-native-wescan"><img src="https://img.shields.io/npm/dm/react-native-wescan.svg?style=flat-square" alt="NPM downloads"></a>
  <a href="https://www.npmjs.com/package/react-native-wescan"><img src="https://img.shields.io/npm/v/react-native-wescan.svg?style=flat-square" alt="NPM version"></a>
  <a href="/LICENSE"><img src="https://img.shields.io/npm/l/react-native-wescan.svg?style=flat-square" alt="License"></a>
  <a href="https://twitter.com/mraja2943"><img src="https://img.shields.io/twitter/follow/mraja2943.svg?style=social&label=Follow" alt="Follow on Twitter"></a>
</p>

# 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
```javascript
import RNWescan from 'react-native-wescan';


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

---
_Source: https://npm.io/package/react-native-wescan · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
