react-native-router-flux
react-native-router-flux copied to clipboard
warning header: null' will be removed in a future version. Use 'headerShown: false' instead
Tell us which versions you are using:
react-native-router-flux v4.3.1 react v16.13.1 react-native v0.63.4
Actual behavior im having this warning:
Deprecation in 'navigationOptions':
- 'header: null' will be removed in a future version. Use 'headerShown: false' instead
any ideas how to solve?
Hi, I am getting below warning with react-native-router-flux@^4.3.1
**WARN Deprecation in 'navigationOptions':
- 'header: null' will be removed in a future version. Use 'headerShown: false' instead** StackView@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.consultant&modulesOnly=false&runModule=true:130160:26 Navigator@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.consultant&modulesOnly=false&runModule=true:113704:38 NavigationContainer@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.consultant&modulesOnly=false&runModule=true:117282:38 App@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.consultant&modulesOnly=false&runModule=true:103940:36 Router@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.consultant&modulesOnly=false&runModule=true:104087:30 App@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.consultant&modulesOnly=false&runModule=true:100154:36 RCTView View RCTView View AppContainer@
Any fix for this. Attaching screenshot for the same.
Following, any update on this, would be nice to resolve, thanks!
I have the same problem, but in plus I have "Deprecation in 'createStackNavigator':'transitionConfig' is removed in favor of the new animation APIs"
P.S I'm using:
react v^17.0.1
react-native v^0.62.2
react-native-router-flux v^4.3.1
react-navigation v^4.4.4
any solution on this issue? I have also getting the same warning..
"react": "17.0.1", "react-native": "0.64.2", "react-native-router-flux": "^4.3.1",
so am i
Deprecation in 'navigationOptions': 'header: null' will be removed in a future version. Use 'headerShown: false' instead
Deprecation in 'createStackNavigator': 'transitionConfig' is removed in favor of the new animation APIs
Deprecation in 'createStackNavigator': 'cardStyle' is moved to 'navigationOptions'. Specify it in 'defaultNavigationOptions' to keep the same behaviour.
Same. Having this issue. Has there really been no fix for this yet?
any update here?
https://github.com/aksonov/react-native-router-flux/pull/3799 its not a big problem to make this disappear...
please make these work:
Deprecation in 'createStackNavigator':
'transitionConfig' is removed in favor of the new animation APIs
Deprecation in 'createStackNavigator':
'cardStyle' is moved to 'navigationOptions'. Specify it in 'defaultNavigationOptions' to keep the same behaviour.
Looks like the author fell off the face of earth at the beginning of 2020 and hasn't made any contributions since march of this year. Hope he's doing well, but I'll probably be moving onto a different solution with all the issues that have popped up for me upgrading to more recent expo/react/react-navigation versions.
Yeah this looks to be abandoned
Since it's still in react-navigation v4 and looks abandoned by the author, best go for react-navigation v5