breautek commented on code in PR #1328:
URL: https://github.com/apache/cordova-docs/pull/1328#discussion_r1298550595


##########
www/_posts/2023-08-18-media-capture-plugin-5.0.0.md:
##########
@@ -0,0 +1,83 @@
+---
+layout: post
+author:
+    name: Bryan Ellis
+title:  "Media-Capture Plugin 5.0.0 Released!"
+categories: news
+tags: release plugins
+---
+
+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)
+
+**To upgrade:**
+
+```bash
+cordova plugin remove cordova-plugin-media-capture
+cordova plugin add [email protected]
+```
+
+## Release Highlights
+
+### Breaking Changes
+
+* **Android 13+ Support**
+
+    Beginning from Android 13 (SDK 33), the `READ_EXTERNAL_STORAGE` permission 
no longer has any effect. Instead, this permission has been replaced with more 
granular permissions: `READ_MEDIA_IMAGES`, `READ_MEDIA_VIDEO`, and 
`READ_MEDIA_AUDIO`. Also the `WRITE_EXTERNAL_STORAGE` has [stopped providing 
write access starting from API level 30 and 
above](https://developer.android.com/reference/android/Manifest.permission#WRITE_EXTERNAL_STORAGE).
+
+    To adapt to this change, we have introduced these three new permissions. 
This ensures that the existing functionality and behavior related to reading 
various media file are maintained for Android 13 and higher versions.
+
+    The `READ_EXTERNAL_STORAGE` and  `WRITE_EXTERNAL_STORAGE` permissions are 
still defined but has declared the `maxSdkVersion` attribute with the value of 
`32` to ensure that the are not used in API 33 of higher.
+
+    Furthermore, to support the new granular permissions and Android 13 (SDK 
33), we have raised the minimum requirement for `cordova-android` to version 
`12.0.0`. This version of Cordova-Android specifically includes the necessary 
updates to handle Android 13 and compile your project with the new permissions 
successfully.

Review Comment:
   ```suggestion
       Furthermore, to support the new granular permissions on Android 13 (SDK 
33), we have raised the minimum requirement for `cordova-android` to version 
`12.0.0`. This version of Cordova-Android specifically includes the necessary 
updates to handle Android 13 and compile your project with the new permissions 
successfully.
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to