Fix intermittent Android crash by upgrading Reanimated to 4.3.1
Reanimated 4.1.x crashes on Android with a NullPointerException in ViewGroup.dispatchDraw (ReactViewGroup.dispatchDraw) — a child view is null mid-draw because Reanimated commits a ShadowTree change during the Android draw pass, mutating the view hierarchy while it's being painted. Fixed upstream in 4.3.0 (software-mansion/react-native-reanimated#9072). 4.3.x requires react-native-worklets 0.8.x, so worklets moves 0.5.1 -> 0.8.3 in lockstep. react-native is pinned to exact 0.81.5 so the re-resolve can't pull 0.81.6 (which needs react ^19.1.4, conflicting with the react 19.1.0 override), and reanimated/worklets are added to root overrides to force a single version across the tree — two copies of the worklets runtime throw a version-mismatch at startup.
This commit is contained in:
@@ -85,14 +85,14 @@
|
||||
"qrcode": "^1.5.4",
|
||||
"react": "19.1.0",
|
||||
"react-dom": "19.1.0",
|
||||
"react-native": "^0.81.5",
|
||||
"react-native": "0.81.5",
|
||||
"react-native-draggable-flatlist": "^4.0.3",
|
||||
"react-native-edge-to-edge": "^1.7.0",
|
||||
"react-native-gesture-handler": "~2.28.0",
|
||||
"react-native-keyboard-controller": "^1.19.2",
|
||||
"react-native-markdown-display": "^7.0.2",
|
||||
"react-native-nitro-modules": "0.35.5",
|
||||
"react-native-reanimated": "~4.1.1",
|
||||
"react-native-reanimated": "~4.3.1",
|
||||
"react-native-safe-area-context": "~5.6.0",
|
||||
"react-native-screens": "~4.16.0",
|
||||
"react-native-svg": "^15.14.0",
|
||||
@@ -100,7 +100,7 @@
|
||||
"react-native-unistyles": "^3.2.4",
|
||||
"react-native-web": "~0.21.0",
|
||||
"react-native-webview": "^13.16.0",
|
||||
"react-native-worklets": "0.5.1",
|
||||
"react-native-worklets": "~0.8.3",
|
||||
"tiny-invariant": "^1.3.3",
|
||||
"use-sync-external-store": "^1.6.0",
|
||||
"zod": "^3.23.8",
|
||||
|
||||
Reference in New Issue
Block a user