I found out that in my case the issue was related to threading. I solved it with:
lifecycleScope.launchWhenResumed {
findNavController().navigate(R.id.action_splashFragment_to_loginFragment)
}
Would be good to know if this help you?!
I found out that in my case the issue was related to threading. I solved it with:
lifecycleScope.launchWhenResumed {
findNavController().navigate(R.id.action_splashFragment_to_loginFragment)
}
Would be good to know if this help you?!