apache / cordova-plugin-media-capture

Apache Cordova Media Capture Plugin
https://cordova.apache.org/
Apache License 2.0
307 stars 489 forks source link

Android: remove RECORD_AUDIO permission #280

Open ath0mas opened 9 months ago

ath0mas commented 9 months ago

Platforms affected

Android

Motivation and Context

Permissions RECORD_AUDIO is not requested at runtime and unnecessary. Replace #211 to fix #209?

Description

See previous PR #211 and issue #209. But contrary to both of them, stating that The external permissions are already handled by the cordova-plugin-file, which this plugin depends on., seems wrong now: cordova-plugin-file ^8.0.0 does not declare any permission at all inside its plugin.xml, so this plugin can still do it.

Testing

Checklist