-
-
Notifications
You must be signed in to change notification settings - Fork 157
Open
Description
Description
Upgrading react-native-actions-sheet from 0.9.8 to 10.1.2 breaks the app in Expo Go on Expo SDK 54.
The app crashes immediately when importing react-native-actions-sheet with:
[Worklets] Mismatch between JavaScript part and native part of Worklets (0.7.4 vs 0.5.1)
Environment
- react-native-actions-sheet: 10.1.2
- expo: ~54.0.33
- react-native: 0.81.5
- react: 19.1.0
- react-native-reanimated: ~4.1.1
- Expo Go
- iOS simulator
Root cause
react-native-actions-sheet@10.1.2 depends on react-native-worklets@^0.7.1.
Expo SDK 54 / Expo Go bundles react-native-worklets@0.5.1.
That leads to a native/JS version mismatch as soon as the library is imported.
Reproduction
- Start with an Expo SDK 54 managed app using Expo Go
- Install
react-native-actions-sheet@10.1.2 - Import
SheetManagerorActionSheet - Run the app in Expo Go
Actual behavior
The app crashes with:
[Worklets] Mismatch between JavaScript part and native part of Worklets (0.7.4 vs 0.5.1)
### Expected behavior
Either:
the package should remain compatible with Expo Go for supported Expo SDKs, or
the docs/releases should clearly mention that v10 requires a development build / custom native build and is not compatible with Expo Go.
Notes
Downgrading back to react-native-actions-sheet@0.9.8 fixes the issue in the same project.
If this is expected behavior, adding a compatibility note for Expo Go users would help.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels