Skip to content

🧩 Boilerplate for Kotlin Multiplatform Mobile applications with Android and iOS targets

License

Notifications You must be signed in to change notification settings

tooniez/kotlin-multiplatorm-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

10 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Kotlin Multiplatform Mobile (KMM) πŸš€

A ready-to-use boilerplate for Kotlin Multiplatform Mobile applications with Android and iOS targets.

Features 🌟

  • Kotlin Multiplatform Mobile setup
  • Android application with Jetpack Compose
  • iOS application with SwiftUI
  • Shared Kotlin code for business logic
  • Gradle build system

Project Structure πŸ“

  • androidApp/: Android application module
  • iosApp/: iOS application module
  • shared/: Shared Kotlin code module

Customizing 🎨

  • Android app customization: Modify files in the androidApp module
  • iOS app customization: Modify files in the iosApp module
  • Shared code: Update the shared module

Gradle Tasks πŸ”§

Install Dependencies

To install all project dependencies, run:

./gradlew build

Run Android App

To run the Android app on an emulator or connected device:

./gradlew :androidApp:installDebug

Compile Android APK

To compile the Android APK:

./gradlew :androidApp:assembleRelease

The APK will be generated in androidApp/build/outputs/apk/debug/.

Run iOS App

To run the iOS app, open the Xcode project in the iosApp folder and run it from there.

Compile iOS App

To compile the iOS app, use Xcode to build the project. You can also use the following command to build from the command line:

xcodebuild -project iosApp/iosApp.xcodeproj -scheme iosApp -configuration Debug build

License πŸ“„

πŸ“ Copyright Β© 2024 tooniez.
This project is MIT licensed.

About

🧩 Boilerplate for Kotlin Multiplatform Mobile applications with Android and iOS targets

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published