Skip to content

A sample Kotlin multiplatform project using Kotlin code in Android and iOS

License

Notifications You must be signed in to change notification settings

kuuuurt/jokes-app-multiplatform

Repository files navigation

Jokes App

A Kotlin Multiplatform sample

Multiplatform Project

This is a Kotlin/Multiplatform project uses code sharing between Android and iOS.

Both applications are fully native and only share the common logic between the platforms.

android - contains the Android project

ios - contains the iOS project

common - contains the shared Kotlin code

Android and Shared

Use Android Studio and open the project on the root of this repository. Android Studio will be able to see the gradle modules both on the android and shared module.

iOS

Use Xcode and open the ios folder or use JokesApp.xcworkspace. The shared modules cannot be seen from this project. iOS gets the shared code through a framework which is exported from the Kotlin project.

Unfortunately, modifying the shared code requires Android Studio or IntelliJ IDEA.

Authors

About

A sample Kotlin multiplatform project using Kotlin code in Android and iOS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published