The latest version of React Navigation now has a new unstable API to automatically navigate to the correct screen after a conditional render (e.g., if a screen was opened via a deep link, but was behind auth):
UNSTABLE_routeNamesChangeBehavior="lastUnhandled"
reactnavigation.org/docs/auth-fl...