upgrade React Navigation to v7 #414
Merged
PierreBresson merged 5 commits intoNMF-earth:mainfrom Dec 17, 2025
Merged
Conversation
- @react-navigation/native: 6.0.13 → 7.1.25 - @react-navigation/stack: 6.3.3 → 7.6.12 - @react-navigation/bottom-tabs: 6.4.0 → 7.8.12 - @react-navigation/material-top-tabs: 6.3.0 → 7.4.10 - Remove react-native-tab-view (now bundled in v7) - Update Expo packages to SDK 54 compatible versions
React Navigation v7 requires all navigators to have unique id props. Added ids: - AppStack, RootStack, ModalStack, BottomTab - ActStack, ActTab, AddEmissionStack, BudgetStack - EmissionsStack, SettingsStack - InfoModalStack, PeriodicityModalStack
Replace headerBackTitleVisible: false with headerBackButtonDisplayMode: 'minimal' for React Navigation v7 compatibility. Affected screens: - About, Act, ActDetail, AddEmission, BarCodeScan - CategorySelection, EmissionItem, Faq, Languages - MonthlyBudget, MonthlyEmissions, MyData, MyLocation - Notifications, RecurringEmissions, SubCategorySelection, SupportUs
…ecessary `as const` assertion
Member
|
Works well, except for this error when adding a new emission from Add tab : |
…a `EmissionsNavigator` with explicit parameters.
Contributor
Author
|
@PierreBresson Should be gone now |
Member
|
@hb2708 indeed, merging thanks ✌️ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
✅ I have read the contributing file
Summary
Needed to complete #408, I will call this part 1 for it
Changelog
Demo
Simulator.Screen.Recording.-.iPhone.17.Pro.-.2025-12-17.at.21.34.44.mov