# @ionic-native/camera

> Ionic Native - Native plugins for ionic apps

Latest version **5.36.0** (published 2021-08-20) · MIT license · 0 weekly downloads

## Install

```sh
npm install @ionic-native/camera
pnpm add @ionic-native/camera
yarn add @ionic-native/camera
bun add @ionic-native/camera
```

## Health

**Score 40/100 (D)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high maintenance score.

Warnings: low downloads.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 5.36.0 |
| Published | 2021-08-20 |
| First published | 2017-02-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 58.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2452 |
| Author | ionic |
| Maintainers | danielsogl, mhartington, wf9a5m75, ionicjs, maxlynch, ihadeed, elylucas |

## Links

- npm: https://www.npmjs.com/package/@ionic-native/camera
- Repository: https://github.com/ionic-team/ionic-native
- Homepage: https://github.com/ionic-team/ionic-native#readme
- Issues: https://github.com/ionic-team/ionic-native/issues
- npm.io page: https://npm.io/package/@ionic-native/camera

## Dependencies (1)

- [@types/cordova](https://npm.io/package/@types/cordova.md) latest

## Recent versions

- 5.36.0 (latest) — 2021-08-20
- 5.22.0-beta-1 (beta) — 2020-02-11
- 5.0.0-alpha.3 (alpha) — 2017-12-08
- 3.1.0-rc.1 (rc) — 2017-03-07
- 5.35.0 — 2021-08-02
- 5.34.0 — 2021-06-29
- 5.33.1 — 2021-05-28
- 5.33.0 — 2021-05-11
- 5.32.1 — 2021-04-15
- 5.32.0 — 2021-04-05
- 5.31.1 — 2021-01-23
- 5.30.0 — 2020-11-20
- 5.29.0 — 2020-10-16
- 5.28.0 — 2020-08-14
- 5.27.0 — 2020-06-23
- … 151 more at https://npm.io/package/@ionic-native/camera/versions

## README

<a style="float:right;font-size:12px;" href="http://github.com/ionic-team/ionic-native/edit/master/src/@ionic-native/plugins/camera/index.ts#L121">
  Improve this doc
</a>

# Camera

```
$ ionic cordova plugin add cordova-plugin-camera
$ npm install @ionic-native/camera
```

## [Usage Documentation](https://ionicframework.com/docs/native/camera/)

Plugin Repo: [https://github.com/apache/cordova-plugin-camera](https://github.com/apache/cordova-plugin-camera)

Take a photo or capture video.

Requires the Cordova plugin: `cordova-plugin-camera`. For more info, please see the [Cordova Camera Plugin Docs](https://github.com/apache/cordova-plugin-camera).

[Warning] Since IOS 10 the camera requires permissions to be placed in your config.xml add
```xml
<config-file parent="NSCameraUsageDescription" platform="ios" target="*-Info.plist">
 <string>You can take photos</string>
</config-file>
```
inside of the <platform name='ios> section

## Supported platforms

- Android
  - Browser
  - iOS
  - Windows

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