Tag: Kotlin Multiplatform
All the articles with the tag "Kotlin Multiplatform".
-
Minimum Weight: Code Coverage Gates in Kotlin Multiplatform with Kover
In GT racing, every car crosses the weighbridge and the minimum weight limit only ever goes up. That's how a coverage floor should work too.
-
Two Racing Lines: Annotations and the DSL in NetFlow 0.7.0
The pit lane is a second line through the same circuit, not a detour around it. Here is why NetFlow 0.7.0 added Retrofit-style annotations on top of its DSL, and the exact point where they stop.
-
Torque Spec: Shared Form State and Validation in KMP
The spec says 120 Nm and you already knew that. Knowing the number was never the hard part. My validation rules were already shared. The sixty lines of state around them were not.
-
Lights Out: Automatic Skeleton Loading in Compose Multiplatform
Five ligths go out and every car reacts to the same signal at once. My shimmer effect wasn't doing that. Every skeleton on screen was running its own private clock.
-
Same Car, Every Time: Deterministic Feature Module Generation in KMP
AI generation adapts to anything you ask. A bash script adapts to nothing. After a few months of scaffolding KMP feature modules both ways, I know which one I trust.
-
Change the Map: Feature Flags and Remote Config in Kotlin Multiplatform
A driver changes the engine map from the wheel, mid-race, no pit stop required. Feature flags do the same for your app: change behaviour without shipping a build. Here's how I structure flags and remote config once, in commonMain, for both platforms.
-
The Same System: Advanced expect/actual in KMP
expect/actual is easy until you leave the trivial expect fun behind. Here's what bites with expect classes, constructors, actual typealiases, and the compiler rules nobody warns you about.
-
Safety Car: Coroutine Exception Handling in KMP
An uncaught coroutine exception crashes your KMP app on both platforms, and the platform safety nets don't extend to iOS. Here's how I build crash boundaries in commonMain.
-
Warm Tyres: Image Loading and Caching in Compose Multiplatform with Coil 3
Tyre warmers keep rubber at temperature so the car has grip the instant it leaves the box. Coil 3's memory and disk cache do the same for images — and the same code now runs on Android and iOS from commonMain.
-
Through the Lens: Barcode Scanning in Compose Multiplatform
expect/actual isn't just for business logic. Here's how to build a shared barcode scanner Composable that reads through any platform's lens.