@ionic-native/camera
    TypeScript icon, indicating that this package has built-in type declarations

    5.35.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

    13,738

    Version

    5.35.0

    License

    MIT

    Unpacked Size

    60.2 kB

    Total Files

    9

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar