# cordova-plugin-swift-camera

> cordova camera plugin by swift

Latest version **0.1.0** (published 2018-05-03) · MIT license · 0 weekly downloads

## Install

```sh
npm install cordova-plugin-swift-camera
pnpm add cordova-plugin-swift-camera
yarn add cordova-plugin-swift-camera
bun add cordova-plugin-swift-camera
```

## 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.1.0 |
| Published | 2018-05-03 |
| First published | 2018-05-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 18 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | takahiro yoshikawa |
| Maintainers | 2takaanthony85 |
| Keywords | cordova, swift, ios, camera, AVFoundation |

## Links

- npm: https://www.npmjs.com/package/cordova-plugin-swift-camera
- Repository: https://github.com/2takaanthony85/cordova-plugin-swift-camera
- Homepage: https://github.com/2takaanthony85/cordova-plugin-swift-camera#readme
- Issues: https://github.com/2takaanthony85/cordova-plugin-swift-camera/issues
- npm.io page: https://npm.io/package/cordova-plugin-swift-camera

## Recent versions

- 0.1.0 (latest) — 2018-05-03

## README

# cordova-plugin-swift-camera
camera plugin by swift


## add this plugin

when you want to add this plugin in your cordova project, you excute the following a command.

`cordova plugin add cordova-plugin-swift-camera --variable CAMERA_USAGE_DESCRIPTION="this app will use your camera"`


## edit config.xml in your cordova project

after add this plugin, you edit the following config.xml

`<preference name="UseSwiftLanguageVersion" value="4" />`

> cordova-plugin-add-swift-support  
> https://github.com/akofman/cordova-plugin-add-swift-support  
> Or it is possible to specify the version as following, inside the project's config.xml, within the <platform name="ios"> section:  
> `<preference name="UseSwiftLanguageVersion" value="4" />`


## change deployment target

you chenge deployment target in your project and target from 9.0 to 11.0 in your xcode.


## Swift 3 @objc Inference

you cahange value of Swift 3 @objc Inference from default to on.


## License
MIT

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