Skip to content
Von KabsTechnology

Mobile app · Health tracking

MyLunaFlow

A menstrual-cycle tracker for Android and iOS, built once with Kotlin Multiplatform and Compose Multiplatform, so people can log and predict their cycle on their own phone.

MyLunaFlow: A cycle tracker for Android and iOS
Client
Von Kabs Technology
Role
Design and development
Status
In development

The brief

MyLunaFlow is a menstrual-cycle tracker we are building for Android and iOS. The aim is one shared codebase for both platforms, with the theme, navigation, screens and database written once in Kotlin. It is in development: the iOS host is written but has not yet been built or run on a Mac.

Built with

  • Kotlin Multiplatform
  • Compose Multiplatform
  • Koin
  • Room
  • Supabase Auth
  • Ktor
  • SwiftUI

What we built

The app is written with Kotlin Multiplatform and Compose Multiplatform. The theme, navigation, screens, view models and database all live in one shared module, with a thin Android host and a SwiftUI host for iOS around it. Koin handles dependency injection, and Room stores the data on the bundled SQLite driver.

After a splash and onboarding, a seven-step profile setup asks for details such as name, birthday, last period, period length and cycle length. The home has four tabs: Home, Calendar, Articles and Profile. There are screens for cycle prediction and for each phase (menstrual, follicular, ovulation and luteal), daily logging of flow, symptoms, moods and notes, and trackers for weight, temperature and water intake.

The interface follows a custom design system in light and dark themes, implemented from a design canvas of 80 artboards. Accounts use Supabase Auth with e-mail and password, and a six-digit e-mail code for password recovery. Cycle data is kept in a Room database on the device, and the app works without a network once signed in. The cycle maths, the data-layer helpers and every feature's view model have unit tests. The first version is English only and has no push notifications.

Highlights

  • One Kotlin Multiplatform codebase for Android and iOS
  • Shared interface in Compose Multiplatform, in light and dark themes
  • Cycle prediction with a screen for each of the four phases
  • Daily logging of flow, symptoms, moods and notes
  • Cycle data stored on the device with Room
  • Unit tests for the cycle maths and every view model
MyLunaFlow, view 1
MyLunaFlow, view 2

Next project

Centre for Grand Strategy

Get in touch

Got an idea, or something that needs fixing?

Tell us about the website, app or software you have in mind, or the equipment that's stopped working. We'll get back to you, usually with a few questions of our own.