This is the result of a little experiment with Kotlin Multiplatform Mobile. Two apps with native UIs in Jetpack Compose on Android and SwiftUI on iOS share the counter logic developed in Kotlin. The Co-routine increases the counter value every two seconds and emits the value to update the UIs.