-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
T271: Prevent access to Android components if they do not need extern…
…al communication (#7990) (#8005) (cherry picked from commit daa38c5) Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
- Loading branch information
1 parent
38d3c7d
commit 1594d5e
Showing
4 changed files
with
59 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<data-extraction-rules> | ||
<cloud-backup> | ||
<exclude domain="sharedpref"/> | ||
<exclude domain="file" path="./databases"/> | ||
</cloud-backup> | ||
<!-- | ||
<device-transfer> | ||
<include .../> | ||
<exclude .../> | ||
</device-transfer> | ||
--> | ||
</data-extraction-rules> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/node_modules/react-native-exception-handler/android/src/main/AndroidManifest.xml b/node_modules/react-native-exception-handler/android/src/main/AndroidManifest.xml | ||
index 58dfc7b..47c9954 100644 | ||
--- a/node_modules/react-native-exception-handler/android/src/main/AndroidManifest.xml | ||
+++ b/node_modules/react-native-exception-handler/android/src/main/AndroidManifest.xml | ||
@@ -3,7 +3,7 @@ | ||
package="com.masteratul.exceptionhandler"> | ||
|
||
<application> | ||
- <activity android:name=".DefaultErrorScreen"> | ||
+ <activity android:name=".DefaultErrorScreen" android:exported="false"> | ||
</activity> | ||
</application> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters