Current behavior
ReactNative v0.75.4 with new architecture android app is crashing when I click back. But it's working in iOS and when I disable new arch it's working fine. Issue is only with newArchEnabled=true
Error Log:
Cannot remove child at index 1 from parent ViewGroup[1332], only 2 children in parent. Warning: childCount may be incorrect! null
Expected behavior
App should not crash when newArchEnabled=true
Reproduction
norepo
Platform
Packages
Environment
- [] I've removed the packages that I don't use
| package |
version |
| @react-navigation/native |
6.1.18 |
| @react-navigation/bottom-tabs |
6.6.1 |
| @react-navigation/material-top-tabs |
6.6.14 |
| @react-navigation/native-stack |
6.11.0 |
| react-native-screens |
3.34.0 |
| react-native-gesture-handler |
2.20.0 |
| react-native-tab-view |
3.5.2 |
| react-native-pager-view |
6.4.1 |
| react-native |
0.75.4 |
| node |
>=18 |
| npm or yarn |
yarn@3.6.4 |
Current behavior
ReactNative v0.75.4 with new architecture android app is crashing when I click back. But it's working in iOS and when I disable new arch it's working fine. Issue is only with newArchEnabled=true
Error Log:
Cannot remove child at index 1 from parent ViewGroup[1332], only 2 children in parent. Warning: childCount may be incorrect! null
Expected behavior
App should not crash when newArchEnabled=true
Reproduction
norepo
Platform
Packages
Environment