79193479

Date: 2024-11-15 17:58:17
Score: 1
Natty:
Report link

Ensure Only One NavigationContainer: Verify that your NavigationContainer in app/_layout.tsx is the only one in your app. If any of your navigators or components like DrawerLayout or any of the Stack.Screen components include another NavigationContainer, remove it.

Remove the independent={true} Prop (if not needed): The independent={true} prop makes the navigation container operate independently from others, but in most cases, you do not need it. Ensure you are not using it unless necessary.

Check DrawerLayout Component: Verify that DrawerLayout or any child navigators don’t include a NavigationContainer. The Drawer should be inside the main NavigationContainer in app/_layout.tsx.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: JAY CHATURVEDI