chore: bump reanimated in macos example on paper (#2398)

Bump reanimated version in macOS paper example to fix:
```
Invariant Violation: `new NativeEventEmitter()` requires a non-null argument.
```
This commit is contained in:
Jakub Grzywacz
2024-08-06 15:39:45 +02:00
committed by GitHub
parent f12ec19b6c
commit 8aae061653
4 changed files with 7224 additions and 9949 deletions
+20 -2
View File
@@ -1053,11 +1053,25 @@ PODS:
- React-jsi (= 0.73.34)
- React-logger (= 0.73.34)
- React-perflogger (= 0.73.34)
- RNReanimated (3.9.0):
- RNReanimated (3.15.0):
- glog
- RCT-Folly (= 2022.05.16.00)
- React-Core
- ReactCommon/turbomodule/core
- RNReanimated/reanimated (= 3.15.0)
- RNReanimated/worklets (= 3.15.0)
- RNReanimated/reanimated (3.15.0):
- glog
- RCT-Folly (= 2022.05.16.00)
- React-Core
- ReactCommon/turbomodule/core
- RNReanimated/worklets (3.15.0):
- glog
- RCT-Folly (= 2022.05.16.00)
- React-Core
- ReactCommon/turbomodule/core
- RNSVG (15.4.0):
- React-Core
- SocketRocket (0.7.0)
- Yoga (1.14.0)
@@ -1114,6 +1128,7 @@ DEPENDENCIES:
- React-utils (from `../node_modules/react-native-macos/ReactCommon/react/utils`)
- ReactCommon/turbomodule/core (from `../node_modules/react-native-macos/ReactCommon`)
- RNReanimated (from `../node_modules/react-native-reanimated`)
- RNSVG (from `../node_modules/react-native-svg`)
- SocketRocket (from `../node_modules/react-native-macos/third-party-podspecs/SocketRocket.podspec`)
- Yoga (from `../node_modules/react-native-macos/ReactCommon/yoga`)
@@ -1221,6 +1236,8 @@ EXTERNAL SOURCES:
:path: "../node_modules/react-native-macos/ReactCommon"
RNReanimated:
:path: "../node_modules/react-native-reanimated"
RNSVG:
:path: "../node_modules/react-native-svg"
SocketRocket:
:podspec: "../node_modules/react-native-macos/third-party-podspecs/SocketRocket.podspec"
Yoga:
@@ -1276,7 +1293,8 @@ SPEC CHECKSUMS:
React-runtimescheduler: fffcf95e96cc36a5d4c82f4c0b2c422463e60e9e
React-utils: f0bb613a2b0a7f8011bdafb8ac098e30d4825256
ReactCommon: cd9602a38f340d44b1cca3ad06d6f13106a46dd0
RNReanimated: e4276a6afc57c02056daa5ea1afb41a5ec497d9b
RNReanimated: ba95f6d26ca4b8a8f7f2b15f62a3513750762f6b
RNSVG: cb24fb322de8c1ebf59904e7aca0447bb8dbed5a
SocketRocket: f6c6249082c011e6de2de60ed641ef8bbe0cfac9
Yoga: 35603207c576afc16e93625844f6d469ae6d5f03
+1 -1
View File
@@ -13,7 +13,7 @@
"react": "18.2.0",
"react-native": "0.73.4",
"react-native-macos": "^0.73.0-0",
"react-native-reanimated": "3.9.0",
"react-native-reanimated": "3.15.0",
"react-native-svg": "link:../"
},
"devDependencies": {
@@ -1,16 +0,0 @@
diff --git a/node_modules/react-native-reanimated/Common/cpp/NativeModules/NativeReanimatedModule.cpp b/node_modules/react-native-reanimated/Common/cpp/NativeModules/NativeReanimatedModule.cpp
index a1ace04..58d0303 100644
--- a/node_modules/react-native-reanimated/Common/cpp/NativeModules/NativeReanimatedModule.cpp
+++ b/node_modules/react-native-reanimated/Common/cpp/NativeModules/NativeReanimatedModule.cpp
@@ -37,11 +37,6 @@
using namespace facebook;
-#if REACT_NATIVE_MINOR_VERSION == 73 && defined(RCT_NEW_ARCH_ENABLED)
-// Android can't find the definition of this static field
-bool CoreFeatures::useNativeState;
-#endif
-
namespace reanimated {
NativeReanimatedModule::NativeReanimatedModule(
+7203 -9930
View File
File diff suppressed because it is too large Load Diff