From 7b90dcbd8fb394f936ad3ed6ba2aec624a51cffb Mon Sep 17 00:00:00 2001 From: Jan Nowakowski Date: Wed, 19 Feb 2025 13:48:43 +0100 Subject: [PATCH 1/2] Patch reaniamted to fix crash caused by worklets --- ...ed+3.16.4+003+fix-worklet-runtime-creation.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 patches/react-native-reanimated+3.16.4+003+fix-worklet-runtime-creation.patch diff --git a/patches/react-native-reanimated+3.16.4+003+fix-worklet-runtime-creation.patch b/patches/react-native-reanimated+3.16.4+003+fix-worklet-runtime-creation.patch new file mode 100644 index 000000000000..da1320b68ca9 --- /dev/null +++ b/patches/react-native-reanimated+3.16.4+003+fix-worklet-runtime-creation.patch @@ -0,0 +1,13 @@ +diff --git a/node_modules/react-native-reanimated/Common/cpp/reanimated/NativeModules/NativeReanimatedModule.cpp b/node_modules/react-native-reanimated/Common/cpp/reanimated/NativeModules/NativeReanimatedModule.cpp +index 08d65fe..68d41c9 100644 +--- a/node_modules/react-native-reanimated/Common/cpp/reanimated/NativeModules/NativeReanimatedModule.cpp ++++ b/node_modules/react-native-reanimated/Common/cpp/reanimated/NativeModules/NativeReanimatedModule.cpp +@@ -244,7 +244,7 @@ jsi::Value NativeReanimatedModule::createWorkletRuntime( + jsQueue_, + jsScheduler_, + name.asString(rt).utf8(rt), +- false /* supportsLocking */, ++ true /* supportsLocking */, + valueUnpackerCode_); + auto initializerShareable = extractShareableOrThrow( + rt, initializer, "[Reanimated] Initializer must be a worklet."); From b1b4fe89101c3458c50f4cb156b7ee0037d3dac6 Mon Sep 17 00:00:00 2001 From: Jakub Szymczak Date: Wed, 19 Feb 2025 15:04:41 +0100 Subject: [PATCH 2/2] rename patch --- ...tive-reanimated+3.16.4+006+fix-worklet-runtime-creation.patch} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename patches/{react-native-reanimated+3.16.4+003+fix-worklet-runtime-creation.patch => react-native-reanimated+3.16.4+006+fix-worklet-runtime-creation.patch} (100%) diff --git a/patches/react-native-reanimated+3.16.4+003+fix-worklet-runtime-creation.patch b/patches/react-native-reanimated+3.16.4+006+fix-worklet-runtime-creation.patch similarity index 100% rename from patches/react-native-reanimated+3.16.4+003+fix-worklet-runtime-creation.patch rename to patches/react-native-reanimated+3.16.4+006+fix-worklet-runtime-creation.patch