I started getting `The current destination is null` on navController’s getBackStackEntry on app star...
m
I started getting
The current destination is null
on navController’s getBackStackEntry on app start, when navHost navigates to an inner navGraph.
Copy code
1.  NavHost(
        navController = navController,
        startDestination = innerDestination.graphRoute
    )
2. 
 navigation(
        startDestination = innerDestination.route,
        route = innerDestination.graphRoute
    )
3. 
  val innerGraphBackStack = remember(innerDestination backStack) {        navController.getBackStackEntry(innerDestination.graphRoute) }
It already crashed on 155 devices and raising. What can be the reason?
s
Can you reproduce this locally?
164 Views