From 8b398f7d7822b2f821245107e91754f58c9c9973 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=A8=E3=83=AA=E3=82=B9?= Date: Wed, 13 Sep 2023 21:23:56 +0900 Subject: [PATCH] doc(android): add quirks for WRITE_EXTERNAL_STORAGE permission (#386) --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index 62db81c2..0e629ffc 100644 --- a/README.md +++ b/README.md @@ -56,6 +56,22 @@ cordova plugin add cordova-plugin-media - iOS - Browser +### Android Quirks + +#### SDK Target Less Than 29 + +From the official [Storage updates in Android 11](https://developer.android.com/about/versions/11/privacy/storage) documentation, the [`WRITE_EXTERNAL_STORAGE`](https://developer.android.com/reference/android/Manifest.permission#WRITE_EXTERNAL_STORAGE) permission is no longer operational and does not provide access. + +> If this permission is not allowlisted for an app that targets an API level before [`Build.VERSION_CODES.Q`](https://developer.android.com/reference/android/os/Build.VERSION_CODES#Q) (SDK 29) this permission cannot be granted to apps. + +If you need to add this permission, please add the following to your `config.xml`. + +```xml + + + +``` + ## Media ```js