npm

Join us for the upcoming webinar, "Enterprise JavaScript done right: the tools you love, the security you need."Sign up here »

@ionic-native/camera

5.10.0 • Public • Published
Improve this doc

Camera

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

Usage Documentation

Plugin Repo: 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.

[Warning] Since IOS 10 the camera requires permissions to be placed in your config.xml add

<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

Keywords

none

install

npm i @ionic-native/camera

Downloadsweekly downloads

19,723

version

5.10.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
Report a vulnerability