mattermost-mobile/patches/react-native-exception-handler+2.10.10.patch
Mattermost Build 1594d5e77f
T271: Prevent access to Android components if they do not need external communication (#7990) (#8005)
(cherry picked from commit daa38c5fd1)

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2024-06-12 01:05:44 +08:00

13 lines
644 B
Diff

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>