Skip to content

react-native-actions-sheet 10.1.2 is not compatible with Expo Go on SDK 54 due to react-native-worklets version mismatch #519

@vladralets-pb

Description

@vladralets-pb

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

  1. Start with an Expo SDK 54 managed app using Expo Go
  2. Install react-native-actions-sheet@10.1.2
  3. Import SheetManager or ActionSheet
  4. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions