Skip to content
gentic.news — AI News Intelligence Platform
Connecting to the Living Graph…

Listen to today's AI briefing

Daily podcast — 5 min, AI-narrated summary of top stories

Two Booking.com developers collaborating on code for Kotlin Multiplatform, with mobile UI mockups and travel booking…

Kotlin Multiplatform in Production: Two Real-World Use Cases from Booking.com

Booking.com applies Kotlin Multiplatform to unify its experimentation library and preview its design system in a browser. This reduces logic drift and improves developer experience across Android and iOS.

·3d ago·3 min read··17 views·AI-Generated·Report error
Share:
Source: medium.comvia booking_techSingle Source
How is Booking.com using Kotlin Multiplatform in production?

Booking.com deployed Kotlin Multiplatform to unify its A/B experimentation library across Android and iOS, eliminating logic drift and improving data integrity, and to host its Android design system in a web browser using Compose Multiplatform.

TL;DR

Booking.com uses Kotlin Multiplatform for a shared experimentation library and a web-based design system viewer, improving consistency.

What Happened

Booking.com, a global travel platform with over 80% of travelers using mobile during trip planning, has published a detailed account of deploying Kotlin Multiplatform (KMP) and Compose Multiplatform (CMP) in production. The company tackled two distinct engineering challenges: unifying its A/B experimentation library across Android and iOS, and using Compose Multiplatform to render its Android design system in a web browser.

Technical Details

Shared Experimentation Library

Booking.com runs over 1,000 simultaneous experiments across its product suite, with hundreds active on mobile. Historically, the internal experimentation library was maintained as two separate codebases: Java/Kotlin for Android and Objective-C for iOS. This led to "logic drift" — subtle inconsistencies in experiment assignment and event tracking that compromised data integrity.

To solve this, Booking.com adopted KMP to centralise the core logic—assignment engine, evaluation rules, and experiment state machine—into a single Kotlin module compiled for both Android and iOS. Platform-specific integration layers (analytics, storage, networking) remain native. The iOS team evaluated KMP rigorously, including a predefined "exit ramp" if performance or developer experience fell short. After validation, the migration succeeded: iOS startup times actually improved post-migration, likely due to Kotlin coroutines outperforming the original Objective-C threading model.

Design System in a Browser

Booking.com also used Compose Multiplatform to host its Android design system in a web browser. This allows designers and developers to preview UI components without needing an Android emulator or device, bridging the gap between design concepts and implementation.

Retail & Luxury Implications

While Booking.com operates in travel, the technical challenges and solutions translate directly to retail and luxury e-commerce. Retailers run hundreds of A/B experiments on product pages, checkout flows, and personalisation algorithms. Inconsistent experiment logic across iOS and Android can lead to flawed product decisions—exactly the problem Booking.com solved.

For luxury brands with mobile-first strategies (e.g., 80% of traffic from mobile), KMP offers a pragmatic path to code sharing without sacrificing native performance. The "exit ramp" strategy—validating KMP against native benchmarks before committing—is a best practice for any risk-averse organisation.

The design system preview use case is especially relevant for luxury retailers with complex UI components (e.g., product configurators, 3D viewers). Compose Multiplatform can enable faster design-to-development cycles without requiring native build environments.

Business Impact

Booking.com reported no meaningful performance impact on Android. On iOS, during the parallel migration phase, startup time increased by ~140ms at the 90th percentile and app size grew by ~2.5MB—both deemed negligible. Post-migration, iOS startup times improved. The primary business benefit is data integrity: consistent experiment assignment across platforms, reducing the risk of incorrect product decisions.

Implementation Approach

  • Architecture: Shared Kotlin module for core logic; platform-specific integration layers for analytics, storage, networking.
  • Build & Distribution: Unified CI pipeline compiles for JVM and Native targets. Android consumes via Gradle; iOS via precompiled XCFramework distributed through Cocoapods.
  • Validation: Ran new KMP version alongside legacy system with kill switches. Used a meta-experiment to compare outputs before cutover.
  • Cultural Integration: iOS team led evaluation with predefined exit ramp. Android team maintained library as pre-compiled binary, so iOS engineers acted as integrators, not Kotlin experts.

Governance & Risk Assessment

  • Privacy: No direct privacy concerns; the shared library handles experiment logic, not user data.
  • Bias: Experiment consistency reduces bias from platform-specific logic drift.
  • Maturity: KMP is production-ready for this use case, but organisations should validate against their own performance benchmarks. Booking.com’s approach of parallel validation and exit ramp is recommended.
  • Dependency Risk: iOS team must trust a Kotlin-generated binary. Booking.com mitigated this with rigorous evaluation and cultural buy-in.

Source: medium.com

Sources cited in this article

  1. Business Impact Booking.com
Source: gentic.news · · author= · citation.json

AI-assisted reporting. Generated by gentic.news from 1 verified source, fact-checked against the Living Graph of 4,300+ entities. Edited by Ala SMITH.

Following this story?

Get a weekly digest with AI predictions, trends, and analysis — free.

AI Analysis

Booking.com’s case study is a textbook example of pragmatic multiplatform adoption. The key insight is not that KMP works—it’s how they made it work: by treating iOS as a first-class stakeholder, defining clear exit criteria, and validating with a meta-experiment. For retail AI teams, the lesson is about governance: in an environment where data-driven decisions are paramount, even minor logic drift between platforms can erode trust in experimentation results. The design system use case is less revolutionary but equally practical. Luxury brands with complex UI components (e.g., AR try-ons, 3D configurators) could benefit from Compose Multiplatform for faster design reviews without native build requirements. However, the technology is still maturing for complex animations and platform-specific interactions. Overall, this is a low-risk, high-reward pattern for retail and luxury apps already using Kotlin. The primary caution is cultural: iOS teams must be genuinely bought in, not just compliant. Booking.com’s approach of letting iOS lead the evaluation and providing an exit ramp is a template for any cross-platform initiative.
Compare side-by-side
Kotlin Multiplatform vs Compose Multiplatform
Enjoyed this article?
Share:

AI Toolslive

Five one-click lenses on this article. Cached for 24h.

Pick a tool above to generate an instant lens on this article.

Related Articles

From the lab

The framework underneath this story

Every article on this site sits on top of one engine and one framework — both built by the lab.

More in Products & Launches

View all