This PR contains three changes for my convenience, but I'm happy to break them up into 3 separate PRs if needed:
TurboNavigator.rootViewcontroller allowed us to access the main nav controller. I've added modalRootViewController so we can access that too.
I've added an "animated" key to VisitProposal. This is a first step towards allowing native clients to use custom animations while TurboNavigator handles hierarchy.
Finally, when routing, I've added an options parameter. This is useful when you want to override the options given from the path config dynamically.
This PR contains three changes for my convenience, but I'm happy to break them up into 3 separate PRs if needed:
TurboNavigator.rootViewcontroller
allowed us to access the main nav controller. I've addedmodalRootViewController
so we can access that too.options
parameter. This is useful when you want to override the options given from the path config dynamically.Happy to hear any feedback.