You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by er...@apache.org on 2021/09/16 11:56:43 UTC

[cordova-paramedic] branch master updated: test(paramedic-plugin): update edit-config for file plugin (#224)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 8dfb13c  test(paramedic-plugin): update edit-config for file plugin (#224)
8dfb13c is described below

commit 8dfb13c1937332ff3e1c2ac56793dcb836d2f37d
Author: エリス <er...@users.noreply.github.com>
AuthorDate: Thu Sep 16 20:56:35 2021 +0900

    test(paramedic-plugin): update edit-config for file plugin (#224)
---
 paramedic-plugin/plugin.xml | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/paramedic-plugin/plugin.xml b/paramedic-plugin/plugin.xml
index 3848017..e58abac 100644
--- a/paramedic-plugin/plugin.xml
+++ b/paramedic-plugin/plugin.xml
@@ -50,9 +50,11 @@
         <!-- <preference name="localhost" value="apptest.cordova.apache.org" /> -->
       </config-file>
 
-      <edit-config file="AndroidManifest.xml" target="/manifest/application" mode="merge">
+      <edit-config file="AndroidManifest.xml" target="/manifest/application" mode="overwrite">
         <!-- Cleartext Traffic should be avoided. Currently the way paramedic proxy the results, cleartext is needed, even when the scheme is set to http. -->
-        <application android:usesCleartextTraffic="true" />
+        <application
+          android:requestLegacyExternalStorage="true"
+          android:usesCleartextTraffic="true" />
       </edit-config>
     </platform>
 </plugin>

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