fix(MM-60638): Insecure File Provider Paths (#8294)
This commit is contained in:
parent
d27d56f102
commit
83189afa88
3 changed files with 12 additions and 9 deletions
|
|
@ -4,5 +4,4 @@
|
|||
<external-files-path name="external_files" path="." />
|
||||
<external-path name="external" path="." />
|
||||
<cache-path name="cache" path="." />
|
||||
<root-path name="root" path="." />
|
||||
</paths>
|
||||
|
|
|
|||
|
|
@ -1,8 +0,0 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<paths xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<files-path name="files" path="." />
|
||||
<external-files-path name="external_files" path="." />
|
||||
<external-path name="external" path="." />
|
||||
<cache-path name="cache" path="." />
|
||||
<root-path name="root" path="." />
|
||||
</paths>
|
||||
12
patches/react-native-share+10.2.1.patch
Normal file
12
patches/react-native-share+10.2.1.patch
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
diff --git a/node_modules/react-native-share/android/src/main/res/xml/share_download_paths.xml b/node_modules/react-native-share/android/src/main/res/xml/share_download_paths.xml
|
||||
index 47bce31..1bf6972 100644
|
||||
--- a/node_modules/react-native-share/android/src/main/res/xml/share_download_paths.xml
|
||||
+++ b/node_modules/react-native-share/android/src/main/res/xml/share_download_paths.xml
|
||||
@@ -1,6 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<paths xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<external-path name="rnshare1" path="Download/" />
|
||||
- <cache-path name="rnshare2" path="/" />
|
||||
- <root-path name="rnshare_sdcard" path="." />
|
||||
+ <cache-path name="rnshare2" path="." />
|
||||
</paths>
|
||||
Loading…
Reference in a new issue