diff --git a/patches/react-native-reanimated+3.16.4+006+fix-worklet-runtime-creation.patch b/patches/react-native-reanimated+3.16.4+006+fix-worklet-runtime-creation.patch new file mode 100644 index 000000000000..da1320b68ca9 --- /dev/null +++ b/patches/react-native-reanimated+3.16.4+006+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.");