# cordova-cs-customscanner

> custom scanner plugin for ios

Latest version **0.0.2** (published 2018-03-01) · ISC license · 0 weekly downloads

## Install

```sh
npm install cordova-cs-customscanner
pnpm add cordova-cs-customscanner
yarn add cordova-cs-customscanner
bun add cordova-cs-customscanner
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2018-03-01 |
| First published | 2018-02-14 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 616.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | cs |
| Maintainers | babin |
| Keywords | ecosystem:cordova, cordova-ios |

## Links

- npm: https://www.npmjs.com/package/cordova-cs-customscanner
- npm.io page: https://npm.io/package/cordova-cs-customscanner

## Recent versions

- 0.0.2 (latest) — 2018-03-01
- 0.0.1 — 2018-02-14

## README

# Cordova Custom Scanner Plugin

Simple plugin that scans QR code and Bar code with zoom and flash light.


## Using

Create a new Cordova Project

    $ cordova create hello com.example.helloapp Hello
    
Install the plugin

    $ cd hello
    $ cordova plugin add cordova-cs-customscanner
    
```Usage 

	customscan.scan(
		      function (result) {
		          
						if(!result.cancelled == true){
							alert("Scanning Success:" + result.text)
						}
		      },
		      function (error) {
		          alert("Scanning failed: " + error);
					
		      },{
				  "preferFrontCamera" : false, // iOS 
				  "showFlipCameraButton" : true, // iOS 
				  "showTorchButton" : true // iOS
			  }
		   );

Install iOS 

    cordova platform add ios
    
Run the code

    cordova run 

## More Info

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