You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "mirko77 (via GitHub)" <gi...@apache.org> on 2024/10/29 12:43:07 UTC
Re: [PR] fix(android): remove broad media permissions [cordova-plugin-media-capture]
mirko77 commented on code in PR #295:
URL: https://github.com/apache/cordova-plugin-media-capture/pull/295#discussion_r1820722629
##########
plugin.xml:
##########
@@ -78,11 +78,8 @@ xmlns:android="http://schemas.android.com/apk/res/android"
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.RECORD_AUDIO" />
- <uses-permission android:name="android.permission.READ_MEDIA_AUDIO" />
- <uses-permission android:name="android.permission.READ_MEDIA_IMAGES" />
- <uses-permission android:name="android.permission.READ_MEDIA_VIDEO" />
- <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" android:maxSdkVersion="32" />
- <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" android:maxSdkVersion="32" />
+ <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" android:maxSdkVersion="29" />
+ <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" android:maxSdkVersion="29" />
Review Comment:
@bmarsaud did you test both audio and video recording? I will do it myself soon, however, I do not have an Android 12 device anymore.
--
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: issues-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org