Skip to content

Android and iOS applications having shared code for API, storage, and business logic using Kotlin Multiplatform Mobile. UI is build using Jetpack Compose(Android) and SwiftUI(iOS).

License

Notifications You must be signed in to change notification settings

randheer094/CovidStatsIn

Repository files navigation

CovidStatsIn

Android and iOS application having shared code for API, data, and, business logic using Kotlin Multiplatform Mobile. API used for data is provided by COVID19-India API.


How much code can be shared?

CovidStatsIn has platform specific ViewModel and UI, everything remains is shared. An ideal target can be sharing everything except UI.

Shared Code (MultiplatformLibrary)
Platform specific code (Android, iOS)
  • ViewModel
  • UI (Jetpack Compose and SwiftUI)

Screenshots

Platform Screen 1 Screen 2 Screen 3 Screen 4
Android AND1 AND2 AND3 AND4
iOS iOS1 iOS2 iOS3 iOS4

Architecture

Architech


Whats Next

  • Sharing ViewModel. One way to share ViewModel is using D-KMP
  • Shared Error Handling Mechanism.
  • Unit Test Cases for shared module.

Contributions

All the contributions are welcomed.

About

Android and iOS applications having shared code for API, storage, and business logic using Kotlin Multiplatform Mobile. UI is build using Jetpack Compose(Android) and SwiftUI(iOS).

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published