apache / cordova-plugin-media

Apache Cordova Media Plugin
https://cordova.apache.org/
Apache License 2.0
390 stars 763 forks source link

Fix for WRITE_EXTERNAL_STORAGE Android API 33 #374

Closed mirko77 closed 10 months ago

mirko77 commented 1 year ago

Platforms affected

Android

Motivation and Context

WRITE_EXTERNAL_STORAGE is always denied on Android 13+ when compiling against API 33

Description

Checking API level at runtime to avoid asking for the WRITE_EXTERNAL_STORAGE permission

Testing

Android 13 and Android 11 devices

Checklist