I am using react-native-navigtion
and have 4 tabs. Tab 1 is the home screen, tabs 2-4 have a navigation stack in each. Tabs 2-4 are made up of a re-usable component so, there is no clear root component. When in the root screen of tabs 2-4, I want the android back button to take me to tab 1. I have found how to hook into the android back button, but I need to know if I am at the navigation root before sending a person to tab 1 (home).
Thanks in advance