JSPM

  • Created
  • Published
  • Downloads 5818
  • Score
    100M100P100Q128523F
  • License MIT

Ionic Native - Native plugins for ionic apps

Package Exports

  • @ionic-native/camera/index
  • @ionic-native/camera/ngx
  • @ionic-native/camera/ngx/index

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@ionic-native/camera) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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