App crashes with more than 5 tabs

オープン
#7,876 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
java, react-native
領域
mobile

調査の方向性

lib/android/app/src/main/java/com/reactnativenavigation/viewcontrollers/bottomtabs/BottomTabsController.java:219 から始め、React Native Navigation 7.39.2、React Native 0.72.13、Fabric を有効にした状態で、5 個を超えるタブの追加を再現してください。Android のログを使用してクラッシュを特定してください。アプリがサイレントにクラッシュしなくなるか、開発者が処理できるエラーを提供するようになれば完了です。

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
MDX
スター
13.2k
フォーク
2.6k
平均マージ
2日 10時間
マージ済み PR(30日)
6

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

wix/react-native-navigation のほかの issue

wix/react-native-navigation の issue をすべて見る

似ている issue

Mobile Dev の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。