react-native-reanimated
react-native-reanimated copied to clipboard
fix: Reanimated failing when using Worklets as a prefab
Summary
Follow-up to
- https://github.com/software-mansion/react-native-reanimated/pull/7866
I accidentally found code from the following PR
- https://github.com/mrousavy/nitro/pull/776
which fixes our prefab issues when running Project Clean then Build in Android Studio.
Test plan
- Clean your repo with
git clean -Xdf - Install deps with
yarn - Open
apps/fabric-example/androidwith AndroidStudio - Run build
- Run clean
- Run build (without this change here Reanimated would complain about missing symbols)
- 🥳
Windows build check: https://github.com/software-mansion/react-native-reanimated/actions/runs/19647487395