# react-native-ntl-document-camera

> using VisionKit feature (VNDocumentCameraViewController)

Latest version **1.0.2** (published 2020-10-26) · ISC license · 0 weekly downloads

## Install

```sh
npm install react-native-ntl-document-camera
pnpm add react-native-ntl-document-camera
yarn add react-native-ntl-document-camera
bun add react-native-ntl-document-camera
```

## 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 | 2020-10-26 |
| First published | 2020-10-23 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 2.3 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | MIT |
| Maintainers | jubajuba |
| Keywords | react-native |

## Links

- npm: https://www.npmjs.com/package/react-native-ntl-document-camera
- Repository: https://github.com/piyojangz/RCTNtlDocumentCamera
- Homepage: https://github.com/piyojangz/RCTNtlDocumentCamera#readme
- Issues: https://github.com/piyojangz/RCTNtlDocumentCamera/issues
- npm.io page: https://npm.io/package/react-native-ntl-document-camera

## Recent versions

- 1.0.2 (latest) — 2020-10-26
- 1.0.1 — 2020-10-23
- 1.0.0 — 2020-10-23

## README

# react-native-ntl-documentscanner

## Getting started

`$ npm install react-native-ntl-document-camera --save`

### Mostly automatic installation

`$ react-native link react-native-ntl-document-camera`

### 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-ntl-document-camera` and add `RCTNtlDocumentCamera.xcodeproj`
3. In XCode, in the project navigator, select your project. Add `libRCTNtlDocumentCamera.a` to your project's `Build Phases` ➜ `Link Binary With Libraries`
4. Run your project (`Cmd+R`)<
 

## Usage
```javascript 

import NtlDocumentCamera from 'react-native-ntl-document-camera';

// TODO: What to do with the module? 
this.subscription;

const DocumentCameraEmitter = new NativeEventEmitter(NtlDocumentCamera);
subscription = DocumentCameraEmitter.addListener(
			'EventReminder',
			(reminder) => console.log(reminder.images)
		);
NtlDocumentCamera.openCamera();

	componentWillUnmount() {
		subscription.remove();
	}
```
## Image
![Optional Text](/images/IMG_0112.PNG)
![Optional Text](/images/IMG_0113.PNG)

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