Skip to content
Projects

Kotlin/KMP-App-Template-Native

View on GitHub

About

Kotlin Multiplatform app template with native UI

Web & App Development

How these counts are measured

Measured star growth

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

Kotlin Multiplatform app template

official project License

This is a basic Kotlin Multiplatform app template for Android, iOS, desktop, and web. It includes shared business logic and data handling, and native UI implementations using Compose Multiplatform, SwiftUI, and React.

The template is also available with shared UI written in Compose Multiplatform.

The kotlin-toolchain branch showcases the same project configured with the Kotlin Toolchain.

Screenshots of the app

Running the apps

Use the run configurations provided by the run widget in your IDE's toolbar (make sure that you have the Kotlin Multiplatform plugin installed.

You can also use these commands and options:

  • Android app: ./gradlew :androidApp:assembleDebug
  • Desktop app: ./gradlew :desktopApp:hotRun --auto
  • Web app:
    1. Install Node.js (which includes npm)
    2. Build and run the web application:
      npm install
      npm run start
      
  • iOS app: open the iOS project in Xcode and run it from there.

Technologies

The data displayed by the app is from The Metropolitan Museum of Art Collection API.

The app uses the following multiplatform dependencies in its implementation:

These are just some of the possible libraries to use for these tasks with Kotlin Multiplatform, and their usage here isn't a strong recommendation for these specific libraries over the available alternatives. You can find a wide variety of curated multiplatform libraries in the kmp-awesome repository.

The Android and desktop apps share these dependencies:

The web app is built with React, TypeScript, and Vite.

The iOS app is built with SwiftUI.

Explore related projects

Loading…