
Building KMP Libraries: The RevenueCat Story
From Talking Kotlin by Talking Kotlin
February 20, 2025 · 52 min · Season 1 · Episode 137
About this episode
The episode discusses the development of Kotlin Multiplatform libraries with insights from the author of RevenueCat’s SDK.
Sebastian and Márton discuss building KMP libraries with Jay Shortway, the author of RevenueCat’s Kotlin Multiplatform SDK for in-app purchases. Resources: RevenueCat KMP SDK How we built the RevenueCat SDK for Kotlin Multiplatform Hybrid SDK Architecture at RevenueCat ttypic/swift-klib-plugin on GitHub RevenueCat/purchases-kmp on GitHub Consider moving `Instant` and `Clock` to the standard library · Kotlin/kotlinx-datetime RevenueCat openings Hosts: Sebastian Aigner – Website | Bluesky Márton Braun – Website | Bluesky Guest: Joop Korteweg – Twitter Timeline: (0:00) Intro (0:44) What’s RevenueCat (4:00) In-app purchases are hard (7:22) The multiplatform SDK (12:44) The demand for KMP (16:30) Hiring and team structure (18:42) SDKs for any framework (21:27) Building on native SDKs (23:45) Improving iOS linking (24:54) The SDK is on GitHub (26:05) Benefits of building on native (28:18) Designing a common API (33:21) Add-on modules for SDKs (37:30) Instant in the standard library (38:04) Returning results from the API (39:53) API design decisions (44:57) Codegen opportunities (45:48) The best things about KMP (47:07) KMP improvements wishlist (48:28) The KMP journey (49:45) Wrap-up
People in this episode
Hosts: Sebastian Aigner, Márton Braun
Guests: Jay Shortway, Joop Korteweg
Topics covered
- Kotlin Multiplatform
- in-app purchases
- SDK development
- RevenueCat
- cross-platform libraries
- API design
- team structure
Keywords
- Kotlin Multiplatform
- RevenueCat
- in-app purchases
- SDK
- cross-platform
- API design
- team structure
Mentioned in this episode
Organizations: RevenueCat, Kotlin, GitHub, Kotlin/kotlinx-datetime, ttypic/swift-klib-plugin, RevenueCat/purchases-kmp
More episodes of Talking Kotlin
- Exposed 1.0 and Beyond · April 29, 2026 · 1h 35m
- How Major Metros Run on KMP · March 5, 2026 · 1h 39m
- Kotlin 2.3 Release Special (Audio Exclusive) · February 3, 2026 · 50 min
- Building AI Agents With Koog · November 17, 2025 · 1h 23m
- Discussing Kotlin Coroutines with Marcin Moskała · October 23, 2025 · 2h 3m
- kotlinx.rpc · August 11, 2025 · 1h 31m
Explore listener stats, chart rankings, contacts and more on the Talking Kotlin podcast page.