I am having a nested navigation. Since the Home route contains MainScreen with bottom navigation bar, it has it's own navhost and a navcontroller. Navigating forward is achievable but moving out of the MainScreen back to Auth route crashes the app.

The App crashes since it doesn't recognize the Root navhost when let's say one of the MainScreen's bottom navigation item is signOut.

0

There are 0 best solutions below