Architecture portfolio

ADR 008

Android apps packaged from web code with Capacitor

AcceptedDecember 2026Scope: Draw with Me, Read with Me

Context

The children's drawing and reading courses already existed as a tested TypeScript web app on the kids website. The goal was two paid Android apps with Play Billing, mainly for tablets and stylus use, without maintaining a second codebase in another language.

Options considered

OptionForAgainst
Native Kotlin and Jetpack ComposeBest performance and platform feelRewrites everything; two codebases to keep in step; slower to build
Flutter or React NativeCross-platform, near-nativeStill a rewrite of the drawing engine and the course content
Capacitor around the existing web appReuses the web code, content and tests; iOS possible later; native code only where neededWeb-view performance limits; web-view errors are invisible to Android crash reporting (see ADR 006)

Decision

Consequences

Revisit when

At bank scale

The same trade-off shows up as "one platform team, many channels". Banks often share a design system and business logic across web and mobile, and keep native code for security-critical parts: secure storage, biometrics, certificate pinning and payment SDKs.