From 6d1778bedf0145630c17fd3b1e625e0d0b404841 Mon Sep 17 00:00:00 2001 From: jcesarmobile Date: Tue, 19 May 2020 13:21:12 +0200 Subject: [PATCH] docs(android): Add information about accessing public folders in Android 10 (#2951) --- core/src/core-plugin-definitions.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/core/src/core-plugin-definitions.ts b/core/src/core-plugin-definitions.ts index 41dd73faa..0657abf37 100644 --- a/core/src/core-plugin-definitions.ts +++ b/core/src/core-plugin-definitions.ts @@ -607,7 +607,9 @@ export enum FilesystemDirectory { * On iOS it's the app's documents directory. * Use this directory to store user-generated content. * On Android it's the Public Documents folder, so it's accessible from other apps. - * It's not accesible on Android 10 and newer. + * It's not accesible on Android 10 unless the app enables legacy External Storage + * by adding `android:requestLegacyExternalStorage="true"` in the `application` tag + * in the `AndroidManifest.xml` */ Documents = 'DOCUMENTS', /** @@ -637,7 +639,9 @@ export enum FilesystemDirectory { * The external storage directory * On iOS it will use the Documents directory * On Android it's the primary shared/external storage directory. - * It's not accesible on Android 10 and newer. + * It's not accesible on Android 10 unless the app enables legacy External Storage + * by adding `android:requestLegacyExternalStorage="true"` in the `application` tag + * in the `AndroidManifest.xml` */ ExternalStorage = 'EXTERNAL_STORAGE' }