You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I am facing a unique navigation problem so I will try to describe it as simply as I can but I am hoping that I can get some help from this forum as TCACoordinators user:
We are migrating our Xamarin (C#) based application to native features while binding new features back into the existing Xamarin app at the same time. So, we have a native SwiftUI app that is being built in parallel to the existing C# app. All new native features use TCA.
We want to setup the navigation system so that:
Our native app uses SwiftUI navigation via. TCACoordinators to take advantage of how the library provides flexibility to model complex navigations by decoupling it from UI/Presentation layer
Our Xamarin app is in control of navigation when native features are placed inside the Xamarin app so we send native views to C# via. bindings and C# renderes those views. This is because our business use cases require us to push native features on xamarin features and xamarin on top of native features. So. native navigation cannot help here.
Now, my TCACoordinator seems to be working fine (with some issues that are a separate topic) in the native app but they don't work when I short-circuit the coordinator reducer by scoping it, instantiating view with scoped store and render that view in Xamarin. The problem is that the scoped reducer loses the context of its parent (the coordinator) and the actions of scoped reducers don't go through the coordinator anymore.
I am wondering if I can create a scoped store such that the actions of the scoped store still go through the coordinator just like the normal TCA feature hierarchy.
Any idea how can I achieve this goal where the scoped child feature can continue to go through the coordinator in the case when the feature is being rendered in Xamarin?
The text was updated successfully, but these errors were encountered:
Hello, I am facing a unique navigation problem so I will try to describe it as simply as I can but I am hoping that I can get some help from this forum as TCACoordinators user:
We are migrating our Xamarin (C#) based application to native features while binding new features back into the existing Xamarin app at the same time. So, we have a native SwiftUI app that is being built in parallel to the existing C# app. All new native features use TCA.
We want to setup the navigation system so that:
Now, my TCACoordinator seems to be working fine (with some issues that are a separate topic) in the native app but they don't work when I short-circuit the coordinator reducer by scoping it, instantiating view with scoped store and render that view in Xamarin. The problem is that the scoped reducer loses the context of its parent (the coordinator) and the actions of scoped reducers don't go through the coordinator anymore.
I am wondering if I can create a scoped store such that the actions of the scoped store still go through the coordinator just like the normal TCA feature hierarchy.
Here is how I do that:
Any idea how can I achieve this goal where the scoped child feature can continue to go through the coordinator in the case when the feature is being rendered in Xamarin?
The text was updated successfully, but these errors were encountered: