Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

warning header: null' will be removed in a future version. Use 'headerShown: false' instead #3745

Open
Wellbrito29 opened this issue Mar 28, 2021 · 12 comments

Comments

@Wellbrito29
Copy link

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?

@khdarshan
Copy link

@cody-wingert
Copy link

Following, any update on this, would be nice to resolve, thanks!

@halilov2020
Copy link

I have the same problem, but in plus I have "Deprecation in 'createStackNavigator':'transitionConfig' is removed in favor of the new animation APIs"
image
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

@suny2talk
Copy link

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",

@taoxq
Copy link

taoxq commented Jul 25, 2021

so am i

@ThomasStubbe
Copy link

ThomasStubbe commented Aug 16, 2021

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.

@charlieswing
Copy link

Same. Having this issue. Has there really been no fix for this yet?

@soheils2
Copy link

any update here?

@soheils2
Copy link

#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.

@mikemcguire
Copy link

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.

@cameronmurphy
Copy link

Yeah this looks to be abandoned

@cybercris
Copy link

Since it's still in react-navigation v4 and looks abandoned by the author, best go for react-navigation v5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests