Skip to content

unstable_reactLegacyComponentNames IOS Issue #37905

Description

@affansk

Description

i get this Failure Error in IOS when i make use of this unstable_reactLegacyComponentNames: ['BVLinearGradient'] to support in new architecture

Thread Performance Checker: Thread running at QOS_CLASS_USER_INTERACTIVE waiting on a lower QoS thread running at QOS_CLASS_DEFAULT. Investigate ways to avoid priority inversions

Assertion failed: (module), function constructCoordinator, file LegacyViewManagerInteropComponentDescriptor.mm, line 64.

React Native Version

0.72.0

Output of npx react-native info

Assertion failed: (module), function constructCoordinator, file LegacyViewManagerInteropComponentDescriptor.mm, line 64

Steps to reproduce

  1. Add unstable_reactLegacyComponentNames in react native config file for the component which is not compatible with new architecture
  2. run the xcode
  3. the build will be successfull
  4. the xcode will crash with above error

Snack, code example, screenshot, or link to a repository

just add this in react-native config file
project: {
ios: {
unstable_reactLegacyComponentNames: ['BVLinearGradient'],
},
android: {}, // grouped into "project"
},

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Platform: iOSiOS applications.Resolution: Issue in another tool or repoAn issue that was opened against React Native but in reality is affecting another tool or libraryType: New ArchitectureIssues and PRs related to new architecture (Fabric/Turbo Modules)

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions