Online learning platform
One shared core for the web, Android and iOS learning apps
A large online learning platform stopped maintaining three separate apps and moved to a shared Kotlin Multiplatform core with a Next.js web app.
The situation
A large online learning platform was building a suite for its learning centers, where students move between classroom and online study. It needed web, Android and iOS apps.
Separate codebases for each meant the same bug had to be found and fixed three times. Video player settings drifted between platforms. Live test batches were the worst case: many students at once, buffering, and quiz answers that did not sync after the network came back.
Triple the codebases meant triple the engineering effort.
What we did
- 01
Put the shared logic in one core
We built a Kotlin Multiplatform core for state, storage and networking, using expect/actual for platform differences. Android and iOS share it.
- 02
Built the web app on the same configuration
A Next.js web app shares player configuration and state handling with the mobile apps, so the platforms behave the same.
- 03
Made offline study work
A local SQLite cache holds course content and quiz answers. When the network returns, the answers sync.
- 04
Adapted video to the network
Streaming goes through a CDN and adjusts quality to the connection, which matters for students on slower networks outside big cities.
What changed
- One team could ship fixes across all three platforms from one core.
- Player behavior stopped drifting between web and mobile.
- Quiz answers entered offline synced when the network came back.
- The platform scaled to a very large active student base without a rewrite.
- Architected the learning suite of a leading edtech unicorn, scaled to 200,000+ active students
Stack
- Kotlin Multiplatform
- Next.js
- SQLite
- CDN video streaming
- Android
- iOS
If you are in the same spot
Mobile App Development (KMM & Flutter)
One shared Kotlin core for logic and offline data, native screens on each platform, or Flutter when one UI codebase fits better.
See the serviceFull Stack Development
A web app, API and database built to one contract, shipped through CI and handed over in your own repositories.
See the serviceMore case studies