This is an automated email from the ASF dual-hosted git repository.

normanbreau pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-plugin-file.git


The following commit(s) were added to refs/heads/master by this push:
     new c69ddce  fix(android): Use legacy storage (#417)
c69ddce is described below

commit c69ddce4ca23e1d3b092ba7f941e5cd1e47e7af6
Author: Norman Breau <nor...@normanbreau.com>
AuthorDate: Mon Sep 14 13:30:17 2020 -0300

    fix(android): Use legacy storage (#417)
---
 plugin.xml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/plugin.xml b/plugin.xml
index 01bff31..1ba5899 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -132,7 +132,9 @@ to config.xml in order for the application to find 
previously stored files.
             </feature>
             <allow-navigation href="cdvfile:*" />
         </config-file>
-
+        <edit-config file="app/src/main/AndroidManifest.xml" mode="merge" 
target="/manifest/application">
+            <application android:requestLegacyExternalStorage="true" />
+        </edit-config>
         <config-file target="AndroidManifest.xml" parent="/*">
             <uses-permission 
android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
         </config-file>


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org
For additional commands, e-mail: commits-h...@cordova.apache.org

Reply via email to