Skip to content

[Brownfield RN iOS] Reanimated crash on JS runtime initialization #9087

@sunxxg

Description

@sunxxg

Description

  1. Add react-native-reanimated, @gorhom/bottom-sheet, react-native-worklets to existing iOS app
  2. Add 'react-native-reanimated/plugin' to babel.config.js (as the last plugin)
  3. Run 'pod install' in ios folder
  4. Build and run app in Xcode
  5. App loads JS bundle and reaches 100% on the loading screen
  6. App crashes immediately at 100%
Image

Steps to reproduce

  • React Native version: 0.84.1
  • Reanimated version: 4.2.2
  • Worklets version: 0.7.4
  • iOS deployment target: 15.1
  • Hermes: enabled
  • Project type: Existing native iOS app (Brownfield)
  • TurboModules / Fabric: custom

Snack or a link to a repository

No

Reanimated version

4.2.2

Worklets version

0.7.4

React Native version

0.84.1

Platforms

iOS

JavaScript runtime

None

Workflow

None

Architecture

None

Reanimated feature flags

None

React Native release level

None

Build type

No response

Device

No response

Host machine

None

Device model

No response

Acknowledgements

Yes

Metadata

Metadata

Assignees

Labels

Missing infoThe user didn't precise the problem enoughMissing reproThis issue need minimum repro scenarioPlatform: iOSThis issue is specific to iOS

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions