Kotlin Multiplatform apps and tools, from two independent developers.
Carcará is two indie developers building Android and iOS apps from one shared codebase, and open-sourcing what we learn along the way.
How an app is put together
Business logic, networking and storage are written once in Kotlin and run on both platforms. Each platform keeps its own native UI, so the app behaves like it belongs on the phone it runs on.
From Perch, our deep-link library. The link is declared on a type, and the build fails if two routes could match the same URL. How Perch works →
@DeepLink("/payments/{id}")
data class PaymentDetails(
val id: String,
)
when (val route = parser.parse(url)) {
is PaymentDetails ->
navigator.push(route)
else -> Unit
} - AndroidNative UI
- iOSNative UI
What we have built and published
- Perch Type-safe deep links for Kotlin Multiplatform. A URL in, a route object out. Library, Apache 2.0
- kotlinx-locale Locale and language-tag handling for Kotlin Multiplatform. Library
- App Store asset generator Screenshots, icons and banners for the App Store and Google Play, made in the browser with no sign-up. Web tool
Notes from our own projects
- Presenting Perch Perch is an open-source Kotlin Multiplatform library that turns a deep-link URL into a typed route object, and fails your build when two routes could match the same link.
- Presenting kotlinx-locale Kotlin has no multiplatform locale API, and every platform localizes differently. This is why we built kotlinx-locale, an open-source library that compiles Unicode CLDR into common Kotlin so a date, a price or a phone number formats the same on Android, iOS and the web.
- How PMs and Designers Started Shipping Our Mobile App After rewriting our app in Kotlin Multiplatform, product managers and designers began delivering features on their own. Here is the setup that made it possible.
The team
Working with Kotlin Multiplatform too?
Questions about our libraries or posts, or want to compare notes on Kotlin Multiplatform? Write to us.
hello@carcara.dev