No visible error is shown on iOS Bridgeless when there is an error before AppRegistry.registerComponent
#44572
Labels
API: AppRegistry
Needs: Triage 🔍
Platform: iOS
iOS applications.
Type: New Architecture
Issues and PRs related to new architecture (Fabric/Turbo Modules)
Description
When bridgeless is enabled on iOS and there is a problem happening before
AppRegistry.registerComponent
is called, the simulator should display an error message. Instead, a blank screen is shown and there is no error in the console. See attached screenshot for more context.Remarks:
AppRegistry.registerComponent
inindex.js
Steps to reproduce
yarn install
yarn ios
React Native Version
0.74.1
Affected Platforms
Runtime - iOS
Areas
Bridgeless - The New Initialization Flow
Output of
npx react-native info
Stacktrace or Logs
Reproducer
https://github.com/jbroma/bridgeless-app-registry-invariant
Screenshots and Videos
With bridgeless enabled:
With bridgeless disabled:
The text was updated successfully, but these errors were encountered: