This is a sample implementation of shared navigation logic in KMM for the talk "KMM: Shared Navigation - Finding the Sweet Spot" given by @matejsemancik at Brno Mobile 2023.
This project leverages Decompose to fully share navigation logic
between both Android and iOS platforms and uses SwiftUI's NavigationStack
View to achieve native screen presentation on iOS.
The following cases are implemented here:
- Basic push and pop of the screens
- Support for back button callout on iOS
- Dialogs / Alerts
- Sheets with nested navigation on iOS
- Typesafe arguments and results