Closed
Description
Current behavior
Ugrading from 6.x to 7.x, I had to use statusBarBackgroundColor instead of statusBarColor
Expected behavior
But according to the doc, I cannot see that this should have changed?
https://reactnavigation.org/docs/native-stack-navigator/#statusbarcolor
And not mentioned in the upgrade doc:
https://reactnavigation.org/docs/upgrading-from-6.x
Reproduction
Github repo to reproduce -> https://github.com/yberstad/TestReactNavigation
Platform
- Android
- iOS
- Web
- Windows
- MacOS
Packages
- @react-navigation/bottom-tabs
- @react-navigation/drawer
- @react-navigation/material-top-tabs
- @react-navigation/stack
- @react-navigation/native-stack
- react-native-tab-view
Environment
- [] I've removed the packages that I don't use
package | version |
---|---|
@react-navigation/native | 7.0.0 |
@react-navigation/native-stack | 7.0.0 |
react-native-safe-area-context | 4.14.0 |
react-native-screens | 4.0.0 |
react-native-gesture-handler | 2.20.2 |
react-native-reanimated | 3.16.1 |
react-native | 0.76.1 |
node | 20.9.0 |
npm or yarn | yarn |