react-native-navigation icon indicating copy to clipboard operation
react-native-navigation copied to clipboard

[IOS][Fabric] setRoot Crashes the app

Open manikandanb24 opened this issue 2 years ago • 3 comments

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?

  • [X] I have tested this issue on the latest react-native-navigation release and it still reproduces.

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

manikandanb24 avatar Sep 02 '23 15:09 manikandanb24

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

nilgautam avatar Dec 05 '23 14:12 nilgautam

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

Lamardav avatar Apr 08 '24 13:04 Lamardav

It still crashes with the 7.40.1 version running in New Architecture. Is there any updates?

trungthanhnt avatar Aug 03 '24 07:08 trungthanhnt