Skip to content

A minimal Kotlin & Compose Multiplatform template designed to build applications for both Android and iOS.

License

Notifications You must be signed in to change notification settings

GetStream/kmp-sample-template

Repository files navigation

KMP Sample Template

This is a minimal Kotlin Multiplatform and Compose Multiplatform template designed to build applications for both Android and iOS.

Kotlin Multiplatform (KMP)

Kotlin Multiplatform is designed with a focus on flexibility and adaptability, bridging the gap between cross-platform and native development. It allows developers to share business logic across platforms while retaining full access to native APIs for platform-specific implementations. This enables a unique balance: developers can reuse common code across Android, iOS, Web, and other platforms, while also integrating native functionalities where needed. With KMP, you get cross-platform efficiency combined with the performance and features of native development, offering the best of both worlds.

Compose Multiplatform

Compose Multiplatform, built on top of Kotlin Multiplatform, allows developers to share UI logic across various platforms using Jetpack Compose. It functions similarly to Jetpack Compose on Android, extending the same declarative UI approach to multiple environments. Built on the existing Compose compiler and runtime system, Compose Multiplatform enables the creation of UIs for Android, iOS, desktop, and web—all using a consistent, Kotlin-based syntax. This approach helps unify UI development, allowing for code reuse and efficiency across different platforms while maintaining a native look and feel.

Technical Content

If you want to learn more about Kotlin Muiltiplatform and Compose Multiplatform, check out Build Your First Android and iOS Mobile App With Kotlin Multiplatform.

Screenshot

Untitled

Find this repository useful? 💙

Support it by joining stargazers for this repository. ⭐
Also, follow maintainers on GitHub for our next creations! 🤩

License

Copyright 2024 Stream.IO, Inc. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

A minimal Kotlin & Compose Multiplatform template designed to build applications for both Android and iOS.

Topics

Resources

License

Stars

Watchers

Forks