-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[IOS][Fabric] setRoot Crashes the app #7780
Comments
Ios app crash when i am going to onborading screen to dashboard set root with otp gives but that second time direct navigate on dashboard how to solve it |
I confirm that there is such a problem |
It still crashes with the 7.40.1 version running in New Architecture. Is there any updates? |
Still crashes. |
Can we get an urgent fix for this, as this is a core part of the library, or at least give guidance on how to patch whichever module is responsible for |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
What happened?
Calling
setRoot
second time crashes the app in IOS. This happens only on new architecture. Its crashing on Playground app as well.What was the expected behaviour?
Should replace the stack with the new stack
Was it tested on latest react-native-navigation?
Help us reproduce this issue!
Run the Playground app with new architecture(
RCT_NEW_ARCH_ENABLED=1 bundle exec pod install;
).Navigation BottomTab => Set Root => Set Root.
App crashes with following error. Tried in multiple projects. Same behaviour.
But works as expected in Android with/without Fabric. In IOS with fabric disabled its working fine as well.
Crash Log
In what environment did this happen?
React Native Navigation version: 7.37.0
React Native version: 0.72.4 / 0.72.3
Has Fabric (React Native's new rendering system) enabled: Yes
Node version: 16
Device model: IOS simulator
iOS version: 16.4
The text was updated successfully, but these errors were encountered: