wix / react-native-navigation

A complete native navigation solution for React Native
https://wix.github.io/react-native-navigation/
MIT License
13.04k stars 2.67k forks source link

App crashes with more than 5 tabs #7876

Open RonRadtke opened 6 months ago

RonRadtke commented 6 months ago

What happened?

The app crashes without any error when I add mroe than 5 tabs

What was the expected behaviour?

Don't crash or at least give an error message that I as developer can handle . Is there any reason for this limitation and any way to bypass this?

Was it tested on latest react-native-navigation?

Help us reproduce this issue!

https://github.com/wix/react-native-navigation/blob/11efb13da786b9db0989aab15a9f68551ceeb2e7/lib/android/app/src/main/java/com/reactnativenavigation/viewcontrollers/bottomtabs/BottomTabsController.java#L219

In what environment did this happen?

React Native Navigation version: 7.39.2 React Native version: 0.72.13" Has Fabric (React Native's new rendering system) enabled: (yes/no) yes Node version: 18.14.2