Open hoonjoo-park opened 3 months ago
Hey! 👋
The issue doesn't seem to contain a minimal reproduction.
Could you provide a snack or a link to a GitHub repository under your username that reproduces the problem?
Hey! 👋
It looks like you've omitted a few important sections from the issue template.
Please complete Description section.
Setting detachInactiveScreens
to false
resolved the issue, However, this seems to be a workaround rather than addressing the root cause.
Description
Problem
First of all, I've integrated ReactNative with my iOS native App. There is no problem with using the basic components of ReactNative. However, when I register RootStackNavigator as an entryPoint, the app crashes with the following error:
-[RCTView setSheetLargestUndimmedDetent:]: unrecognized selector sent to instance
As I said above, my app is based on iOS, and only a few screens are implemented with ReactNative. so I had to implement my custom BridgeManager which returns rootViewFactory to render ReactNative View.
React Native Code Example:
index.js
NoticeRootStackNavigator
iOS Code Example
CustomRCTBridgeManager.mm
NoticeViewController
Steps to reproduce
RCT_NEW_ARCH_ENABLED=1 bundle exec pod install
Snack or a link to a repository
sorry it's my company's private repo
Screens version
3.31.1
React Native version
0.74.2
Platforms
iOS
JavaScript runtime
Hermes
Workflow
React Native (without Expo)
Architecture
Fabric (New Architecture)
Build type
Debug mode
Device
iOS simulator
Device model
iPhone 15 Pro
Acknowledgements
Yes