@ionic-native/camera

Ionic Native - Native plugins for ionic apps

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
2,056462Jun 16, 2021Nov 24, 2015Minified + gzip package size for @ionic-native/camera in KB

Readme

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

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.