-
Hello. I develop kmm module. Android App works good with navigation. But in IOS App navigation sending warning "A navigationDestination for “UIOSChild” was declared earlier on the stack. Only the destination declared closest to the root view of the stack will be used." I dont undestand how to solve that. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 12 replies
-
It's hard to say without a reproducer. But it sounds like you have duplicated distinctions in your stack, or something like that. |
Beta Was this translation helpful? Give feedback.
-
No solution to the problem ? |
Beta Was this translation helpful? Give feedback.
Thanks for the reproducer! I don't have those warnings, but the issue is still reproducible. When I click on "goToReg", the new screen is pushed and then immediately popped back. Is this the issue you are experiencing?
If so, for now I don't have any solution, this looks like a bug in
NavigationStack
when it's nested. One thing that I noticed is that StackInteropView works fine. So maybe as a workaround use only that one.