Blog RSS Feed

Media Capture Plugin 6.0.0 Released!
By: Bryan Ellis
26 Feb 2025

We are happy to announce that we have just released an update for cordova-plugin-media-capture!

To upgrade:

cordova plugin remove cordova-plugin-media-capture
cordova plugin add cordova-plugin-media-capture@6.0.0

Release Highlights

This major release primarily focused on ensuring that the plugin complies with Android's new strict permission requirements.

Specifically, it removes unnecessary permissions such as:

  • android.permission.READ_EXTERNAL_STORAGE
  • android.permission.WRITE_EXTERNAL_STORAGE
  • android.permission.RECORD_AUDIO

Additionally, it removes broad media permissions:

  • android.permission.READ_MEDIA_AUDIO
  • android.permission.READ_MEDIA_IMAGES
  • android.permission.READ_MEDIA_VIDEO

Please report any issues you find by following the How to File a Bug guide!

Changes include:

Breaking Changes:

  • GH-308 feat(android)!: remove unnecessary permissions
  • GH-280 feat(android)!: remove RECORD_AUDIO permission not requested at runtime
  • GH-295 fix(android)!: remove broad media permissions

Features:

  • GH-281 feat(android): Field 'storagePermissions' may be 'final'

Fixes:

  • GH-307 fix(android): Remove usage of Media Store queries
  • GH-302 fix(android): save media capture to File Provider

Chores, Refactoring, CI:

  • GH-306 chore: upgrade eslint config and rolled dependencies
  • GH-305 chore: npmrc
  • GH-284 chore: update asf config
  • GH-309 refactor(android): cleanup unused or obsolete code
  • GH-304 ci(ios): update workflow environment
  • GH-301 ci: sync workflow w/ paramedic