From 2b28c85b43c81ab89a3e7df0c46baa9130c6f2d1 Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Mon, 23 Dec 2024 18:17:09 +0000 Subject: [PATCH] Cropper - opt out of edge-to-edge enforcement on Android 15 (#7254) * opt out of edge-to-edge enforcement * revert unintended change --- ...eact-native-image-crop-picker+0.41.6.patch | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/patches/react-native-image-crop-picker+0.41.6.patch b/patches/react-native-image-crop-picker+0.41.6.patch index 7017ac80ea..57589931a3 100644 --- a/patches/react-native-image-crop-picker+0.41.6.patch +++ b/patches/react-native-image-crop-picker+0.41.6.patch @@ -1,3 +1,36 @@ +diff --git a/node_modules/react-native-image-crop-picker/android/src/main/AndroidManifest.xml b/node_modules/react-native-image-crop-picker/android/src/main/AndroidManifest.xml +index 391f303..8e2c3db 100644 +--- a/node_modules/react-native-image-crop-picker/android/src/main/AndroidManifest.xml ++++ b/node_modules/react-native-image-crop-picker/android/src/main/AndroidManifest.xml +@@ -24,7 +24,7 @@ + + ++ android:theme="@style/Theme.UCropNoEdgeToEdge" /> + + + +diff --git a/node_modules/react-native-image-crop-picker/android/src/main/res/values-v35/styles.xml b/node_modules/react-native-image-crop-picker/android/src/main/res/values-v35/styles.xml +new file mode 100644 +index 0000000..396d5a8 +--- /dev/null ++++ b/node_modules/react-native-image-crop-picker/android/src/main/res/values-v35/styles.xml +@@ -0,0 +1,5 @@ ++ ++ ++ +diff --git a/node_modules/react-native-image-crop-picker/android/src/main/res/values/styles.xml b/node_modules/react-native-image-crop-picker/android/src/main/res/values/styles.xml +new file mode 100644 +index 0000000..50129b6 +--- /dev/null ++++ b/node_modules/react-native-image-crop-picker/android/src/main/res/values/styles.xml +@@ -0,0 +1,3 @@ ++ ++