Search by tag: kmp

2 articles

Eurolinguo

Eurolinguo is now live on the Google Play Store. This initial release is a native Android application built with Kotlin Multiplatform (KMP).

Eurolinguo main screen in lanscape orientation

Tired of language apps that force you to tap through five screens to reach a lesson or focus on memorizing dozens of animal and color names, Eurolinguo is designed with an offline-first architecture for immediate utility, immersing you straight away in useful sentences for realistic daily usage.

Developed using a Test-Driven Development (TDD) approach, the codebase features extensive unit, UI, and integration tests to ensure stability. The technical stack includes Room for local data persistence and Koin for dependency injection. Audio playback utilizes a custom abstraction over the native Android Text-to-Speech engine, dynamically adapting to device-installed voice data to minimize APK size while maintaining quality.

The app also prioritizes inclusivity with comprehensive semantic support for screen readers and full compatibility with maximum system zoom settings.

While v1.0.0 operates entirely offline with pre-packaged content, the architecture is prepared for future API synchronization to enable dynamic content updates and additional language support.

Eurolinguo main screen in portrait orientation

Water Tracker

Here is the release of a small hydration tracker, made with Compose Multiplatform (CMP). It is a lightweight, high-performance utility app for Android and iOS.

The goal was to create a seamless, reactive experience while keeping the UI layer entirely decoupled from business logic: the "Dumb UI" pattern, or more professional sounding: Unidirectional Data Flow (UDF).

To ensure the UI remains a pure projection of the state, I moved all logical operations—including orientation-based grid calculations (rows/cols), date formatting, and accessibility strings—into the ViewModel. Even the layout math, like chunking the list of 8 glasses into rows, is handled in the ViewModel. This makes the Composables "dumb" and easy to preview, while the entire user experience becomes unit-testable without an emulator.

The app uses Room for local persistence, leveraging its new Kotlin Multiplatform capabilities. A database factory handles path differences between Android’s internal storage and iOS’s document directory through the expect/actual pattern. Koin ensures dependency injection.

To match the new requirement of Android SDK 36+, the UI is adaptive to ensure a pleasant experience both in portrait and lanscape modes. The glass shape is drawn using the Canvas API, and I played with a few simple animations to smooth the state changes.

I also experimented with custom semantic roles and state descriptions, to fully support screen readers like TalkBack and VoiceOver.

Water Tracker main screen in landscape mode