|
| 1 | +--- |
| 2 | +layout: post |
| 3 | +author: |
| 4 | + name: Bryan Ellis |
| 5 | +title: "Media Capture Plugin 6.0.0 Released!" |
| 6 | +categories: announcements |
| 7 | +tags: news releases |
| 8 | +--- |
| 9 | + |
| 10 | +We are happy to announce that we have just released an update for `cordova-plugin-media-capture`! |
| 11 | + |
| 12 | +* [cordova-plugin-media-capture@6.0.0](https://www.npmjs.com/package/cordova-plugin-media-capture/v/6.0.0) |
| 13 | + |
| 14 | +**To upgrade:** |
| 15 | + |
| 16 | +```bash |
| 17 | +cordova plugin remove cordova-plugin-media-capture |
| 18 | +cordova plugin add cordova-plugin-media-capture@6.0.0 |
| 19 | +``` |
| 20 | + |
| 21 | +## Release Highlights |
| 22 | + |
| 23 | +This major release primarily focused on **ensuring** that the plugin complies with Android's new strict permission requirements. |
| 24 | + |
| 25 | +Specifically, it **removes** unnecessary permissions such as: |
| 26 | + |
| 27 | +* `android.permission.READ_EXTERNAL_STORAGE` |
| 28 | +* `android.permission.WRITE_EXTERNAL_STORAGE` |
| 29 | +* `android.permission.RECORD_AUDIO` |
| 30 | + |
| 31 | +Additionally, it **removes** broad media permissions: |
| 32 | + |
| 33 | +* `android.permission.READ_MEDIA_AUDIO` |
| 34 | +* `android.permission.READ_MEDIA_IMAGES` |
| 35 | +* `android.permission.READ_MEDIA_VIDEO` |
| 36 | + |
| 37 | +Please report any issues you find by following the [How to File a Bug](https://github.com/apache/cordova#filing-a-bug) guide! |
| 38 | + |
| 39 | +<!--more--> |
| 40 | +# Changes include: |
| 41 | + |
| 42 | +**Breaking Changes:** |
| 43 | + |
| 44 | +* [GH-308](https://github.com/apache/cordova-plugin-media-capture/pull/308) feat(android)!: remove unnecessary permissions |
| 45 | +* [GH-280](https://github.com/apache/cordova-plugin-media-capture/pull/280) feat(android)!: remove RECORD_AUDIO permission not requested at runtime |
| 46 | +* [GH-295](https://github.com/apache/cordova-plugin-media-capture/pull/295) fix(android)!: remove broad media permissions |
| 47 | + |
| 48 | +**Features:** |
| 49 | + |
| 50 | +* [GH-281](https://github.com/apache/cordova-plugin-media-capture/pull/281) feat(android): Field 'storagePermissions' may be 'final' |
| 51 | + |
| 52 | +**Fixes:** |
| 53 | + |
| 54 | +* [GH-307](https://github.com/apache/cordova-plugin-media-capture/pull/307) fix(android): Remove usage of Media Store queries |
| 55 | +* [GH-302](https://github.com/apache/cordova-plugin-media-capture/pull/302) fix(android): save media capture to File Provider |
| 56 | + |
| 57 | +**Chores, Refactoring, CI:** |
| 58 | + |
| 59 | +* [GH-306](https://github.com/apache/cordova-plugin-media-capture/pull/306) chore: upgrade eslint config and rolled dependencies |
| 60 | +* [GH-305](https://github.com/apache/cordova-plugin-media-capture/pull/305) chore: npmrc |
| 61 | +* [GH-284](https://github.com/apache/cordova-plugin-media-capture/pull/284) chore: update asf config |
| 62 | +* [GH-309](https://github.com/apache/cordova-plugin-media-capture/pull/309) refactor(android): cleanup unused or obsolete code |
| 63 | +* [GH-304](https://github.com/apache/cordova-plugin-media-capture/pull/304) ci(ios): update workflow environment |
| 64 | +* [GH-301](https://github.com/apache/cordova-plugin-media-capture/pull/301) ci: sync workflow w/ paramedic |
0 commit comments