Skip to content

Commit

Permalink
blog: cordova-plugin-media-capture-6.0.0 release (#1401)
Browse files Browse the repository at this point in the history
  • Loading branch information
erisu authored Feb 27, 2025
1 parent 5d1f5bc commit 5d78b09
Showing 1 changed file with 64 additions and 0 deletions.
64 changes: 64 additions & 0 deletions www/_posts/2025-02-26-cordova-plugin-media-capture-6.0.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
---
layout: post
author:
name: Bryan Ellis
title: "Media Capture Plugin 6.0.0 Released!"
categories: announcements
tags: news releases
---

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

* [[email protected]](https://www.npmjs.com/package/cordova-plugin-media-capture/v/6.0.0)

**To upgrade:**

```bash
cordova plugin remove cordova-plugin-media-capture
cordova plugin add [email protected]
```

## 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](https://github.com/apache/cordova#filing-a-bug) guide!

<!--more-->
# Changes include:

**Breaking Changes:**

* [GH-308](https://github.com/apache/cordova-plugin-media-capture/pull/308) feat(android)!: remove unnecessary permissions
* [GH-280](https://github.com/apache/cordova-plugin-media-capture/pull/280) feat(android)!: remove RECORD_AUDIO permission not requested at runtime
* [GH-295](https://github.com/apache/cordova-plugin-media-capture/pull/295) fix(android)!: remove broad media permissions

**Features:**

* [GH-281](https://github.com/apache/cordova-plugin-media-capture/pull/281) feat(android): Field 'storagePermissions' may be 'final'

**Fixes:**

* [GH-307](https://github.com/apache/cordova-plugin-media-capture/pull/307) fix(android): Remove usage of Media Store queries
* [GH-302](https://github.com/apache/cordova-plugin-media-capture/pull/302) fix(android): save media capture to File Provider

**Chores, Refactoring, CI:**

* [GH-306](https://github.com/apache/cordova-plugin-media-capture/pull/306) chore: upgrade eslint config and rolled dependencies
* [GH-305](https://github.com/apache/cordova-plugin-media-capture/pull/305) chore: npmrc
* [GH-284](https://github.com/apache/cordova-plugin-media-capture/pull/284) chore: update asf config
* [GH-309](https://github.com/apache/cordova-plugin-media-capture/pull/309) refactor(android): cleanup unused or obsolete code
* [GH-304](https://github.com/apache/cordova-plugin-media-capture/pull/304) ci(ios): update workflow environment
* [GH-301](https://github.com/apache/cordova-plugin-media-capture/pull/301) ci: sync workflow w/ paramedic

0 comments on commit 5d78b09

Please sign in to comment.