There are two methods to do it,
OR
2)add viewModelStoreOwner to koinViewModel()
composable(Route.SCanConfigScreen) { SCanConfigScreen(koinViewModel(viewModelStoreOwner = LocalContext.current as ComponentActivity)) }