react-native-multithreading icon indicating copy to clipboard operation
react-native-multithreading copied to clipboard

Fix "Use of undeclared identifier 'ShareableValue'"

Open whalemare opened this issue 3 years ago • 2 comments

Like https://github.com/mrousavy/react-native-multithreading/pull/37 but contains single changes that allow to build ios project

whalemare avatar Apr 23 '22 04:04 whalemare

I see that this commit has not been merged into master, can I use patch to temporarily solve this problem?

` diff --git a/node_modules/react-native-multithreading/cpp/RNMultithreadingInstaller.cpp b/node_modules/react-native-multithreading/cpp/RNMultithreadingInstaller.cpp index 7a3e6e5..345dcbb 100644 --- a/node_modules/react-native-multithreading/cpp/RNMultithreadingInstaller.cpp +++ b/node_modules/react-native-multithreading/cpp/RNMultithreadingInstaller.cpp @@ -5,8 +5,8 @@

#if __has_include(<RNReanimated/Scheduler.h>) #include <RNReanimated/Scheduler.h> -#include <RNReanimated/ShareableValue.h> #include <RNReanimated/RuntimeManager.h> +#include <RNReanimated/ShareableValue.h> #include <RNReanimated/RuntimeDecorator.h> #include <RNReanimated/ErrorHandler.h> #else `

fencer-yd avatar Jun 05 '22 09:06 fencer-yd

@mrousavy please merge this. I have the same issue with React Native v0.68

fitouch avatar Jul 08 '22 01:07 fitouch