App crashes with more than 5 tabs

Đang mở
#7,876 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
45/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
java, react-native
Lĩnh vực
mobile

Hướng nghiên cứu

Bắt đầu tại lib/android/app/src/main/java/com/reactnativenavigation/viewcontrollers/bottomtabs/BottomTabsController.java:219 và tái hiện việc thêm hơn năm tab với React Native Navigation 7.39.2, React Native 0.72.13 và Fabric được bật. Sử dụng log Android để xác định crash; hoàn thành khi ứng dụng không còn crash mà không có thông báo hoặc cung cấp một lỗi mà nhà phát triển có thể xử lý.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

needs triage type: accepted/bug
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?
  • I have tested this issue on the latest react-native-navigation release and it still reproduces.
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

Ngôn ngữ chính
MDX
Star
13.2k
Fork
2.6k
Merge trung bình
2 ngày 10 giờ
Pull request đã merge (30 ngày)
6

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của wix/react-native-navigation

Tất cả issue của wix/react-native-navigation

Issue tương tự

Thêm issue về Mobile Dev

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.