johnpatrickmorgan / TCACoordinators

Powerful navigation in the Composable Architecture via the coordinator pattern
MIT License
439 stars 42 forks source link

Deeplinks sample #52

Closed CarlsCorrea closed 1 year ago

CarlsCorrea commented 1 year ago

Hello, is there some example about how to work with deeplinks?

I was looking into the sample project and seems the tabBar that connects all the coordinators has no acess to the routes inside the coordinators, for example, how can I redirect the app to a specific screen in the last coordinator configured in the tabBar via deeplink?

johnpatrickmorgan commented 1 year ago

Hi @CarlsCorrea, thanks for your question. I've added a quick example of how you might set up deeplinking to select a tab and push a new screen on a specific tab. In a more complex example, you might want to push some responsibility down into the child coordinators.

CarlsCorrea commented 1 year ago

Thank you for the example, I tried something similar and worked.