skip to Main Content

I am using Expo SDK 48 (after upgrading from 46), my issue is that I had a bunch of options containing headerBackTitle: "..." or headerBackTitleVisible: false in my React Navigation, but seems to be not working in the new update. Looked at docs on React Nav but didn’t find any breaking change sooo… have anyone encountered the same problem?

code:
options={{ headerBackTitleVisible: false, headerTitle: "Detail" }} (headerTitle works fine :))

2

Answers


  1. Try adding the options inside of HomeStack.Group,

    <HomeStack.Group screenOptions={{ headerBackTitleVisible: false, ... }}>
    ... 
    
    Login or Signup to reply.
  2. Same problem when I use @react-navigation/native-stack, my workaround is switch to @react-navigation/stack

    "@react-navigation/native-stack": "6.9.12",
    "@react-navigation/stack": "6.3.16",
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search