feat: Migrate to native bottom tab navigator using image assets for tab icons and update react-native-screens.#415
Conversation
…ab icons and update `react-native-screens`.
|
@PierreBresson for the monthly budget screen need some adjustment where the button needs to moved inside the scrollview Let me know if that works will commit and push . till then i will keep on local For the Monthly Budget page
|
|
May get a better solution when we add other changes for large header in follow up work |
…ss tab bar - Add contentInsetAdjustmentBehavior='automatic' to ActScreen, BudgetScreen, CategorySelectionScreen, EmissionsScreen, SettingsScreen, and SubCategorySelectionScreen - This ensures content scrolls properly and is not hidden behind the translucent native bottom tab bar - Update related snapshots
|
Related to the inactive tab tint color, it will be automatically set, and we won’t be able to control it. This feature will no longer be supported in iOS once we migrate to Liquid Glass in iOS 26. |
|
Moving the button inside the scrollview is a good solution for now, otherwise we can delete the button and update the value every time the slider value has changed. |
|
@PierreBresson pushed All should be good now |
…ust button container layout.
|
@hb2708 almost there. The button is fixed but there are still a few regressions : |
…views and flat lists.
|
@PierreBresson Added |
|
hmm it seems contentInsetAdjustmentBehavior dont work as expected in android 🤦 |
|
@PierreBresson Added some android specific code which i felt is a solution at this point . tried to cover all the screen i felt may have issue |
| }; | ||
|
|
||
| export { screen, isSmallDevice, PADDING_HORIZONTAL, SPACING }; | ||
| const ANDROID_TAB_BAR_HEIGHT = 100; |
There was a problem hiding this comment.
Please use useBottomTabBarHeight, see documentation.
There was a problem hiding this comment.
useBottomTabBarHeight wont work for Native Bottom Tab Navigator as it expects JS-based navigator context
When used it will throw error as
[Error: Couldn't find the bottom tab bar height. Are you inside a screen in Bottom Tab Navigator?]
There was a problem hiding this comment.
@PierreBresson updated the approach to use different hook.
There was a problem hiding this comment.
Ah I see, alright let's go for the static value then, thanks for looking into it.
e4d7a41 to
cf061d8
Compare



















✅ I have read the contributing file
Completes #408
Summary
Changelog
Demo
Simulator.Screen.Recording.-.iPhone.17.Pro.-.2025-12-18.at.01.17.18.mov
demo.mp4