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

Stuck on a Cordova issue?


ionic cordova plugin add cordova-plugin-cameranpm install @ionic-native/camera
Ionic EE comes with fully supported and maintained plugins from the Ionic Team. Learn More or Contact Us
ionic enterprise register --key=YOURPRODUCTKEYnpm install @ionic-enterprise/camera

Supported Platforms

  • Android
  • Browser
  • iOS
  • Windows