Skip to main content
Version: v5

Media Capture

This plugin provides access to the device's audio, image, and video capture capabilities.

Requires Cordova plugin: cordova-plugin-media-capture. For more info, please see the Media Capture plugin docs.

Stuck on a Cordova issue?

Don't waste precious time on plugin issues.

If you're building a serious project, you can't afford to spend hours troubleshooting. Ionic’s experts offer premium advisory services for both community plugins and premier plugins.


$ npm install cordova-plugin-media-capture 
$ npm install @awesome-cordova-plugins/media-capture
$ ionic cap sync

Supported Platforms

  • Android
  • Browser
  • iOS
  • Windows



Learn more about using Ionic Native components in React


import { MediaCapture, MediaFile, CaptureError, CaptureImageOptions } from '@awesome-cordova-plugins/media-capture/ngx';

constructor(private mediaCapture: MediaCapture) { }


let options: CaptureImageOptions = { limit: 3 }
(data: MediaFile[]) => console.log(data),
(err: CaptureError) => console.error(err)