Description
The table here says that 0.7.x is compatible with React Native 0.84, but this does not seem to be the case. When installing react-native-worklets@0.7.1 via npm, the following line is contained in 'compatibility.json' , node_modules/react-native-worklets:
"0.7.x": { "react-native": ["0.79", "0.80", "0.81", "0.82", "0.83"] }
Adding "0.84" to this causes the project build to fail.
Steps to reproduce
- Create a project with
npx @react-native-community/cli@latest init myProject
- Enter the project directory and install worklets with
npm install react-native-worklets@0.7.1, and version below 0.7.4 will have the same effect
cd ios && pod install will fail with
"Your installed version of React Native (0.84.0) is not compatible with installed version of Worklets (0.7.1)"
Snack or a link to a repository
none
Reanimated version
4.2.2
Worklets version
0.7.1
React Native version
0.84
Platforms
iOS
JavaScript runtime
Hermes
Workflow
React Native CLI
Architecture
New Architecture (Fabric renderer)
Reanimated feature flags
No
React Native release level
Stable
Build type
Release app & production bundle
Device
Real device
Host machine
macOS
Device model
No response
Acknowledgements
Yes
Description
The table here says that 0.7.x is compatible with React Native 0.84, but this does not seem to be the case. When installing react-native-worklets@0.7.1 via npm, the following line is contained in 'compatibility.json' , node_modules/react-native-worklets:
"0.7.x": { "react-native": ["0.79", "0.80", "0.81", "0.82", "0.83"] }Adding "0.84" to this causes the project build to fail.
Steps to reproduce
npx @react-native-community/cli@latest init myProjectnpm install react-native-worklets@0.7.1, and version below 0.7.4 will have the same effectcd ios && pod installwill fail withSnack or a link to a repository
none
Reanimated version
4.2.2
Worklets version
0.7.1
React Native version
0.84
Platforms
iOS
JavaScript runtime
Hermes
Workflow
React Native CLI
Architecture
New Architecture (Fabric renderer)
Reanimated feature flags
No
React Native release level
Stable
Build type
Release app & production bundle
Device
Real device
Host machine
macOS
Device model
No response
Acknowledgements
Yes