Apollo-Android: a Journey to Kotlin Multiplatform
summary
Apollo-Android actually becomes Kotlin Multiplatform: migrated API and codegen (common source set, removed JVM-only deps, replaced BigDecimal/File bits with expect/actual), updated JSON reader/writer to Kotlin native, and generated Kotlin-native models that run on Android and iOS; publication uses Gradle metadata + maven-publish and consolidated Bintray packages; runtime is being rewritten with coroutines and modular interceptors (network transports, normalized cache, WebSocket) as an experimental new runtime that already powers a working KMP sample; initial KMP plugin added March and minimal support released April.
AI-written summary · about
chapters (22)
- 0:00Intro
- 0:53What is GraphOL
- 2:20Apollo GraphOL
- 7:34Adding Multiplatform Plugin
- 10:16Dependency Analysis
- 15:16Kotlin conversion gotchas
- 16:02Generating code in multiplatform
- 16:45Tests
- 17:47Sample App
- 18:39Publication: the 1.x JVM module & artifacts
- 19:38Publication: the 2x KMP modules & artifacts
- 20:02Publication: the metadata module
- 20:47Publication: the common module
- 21:11Publication: apollo-api-2.10.module
- 22:08Publication: Cradle metadata
- 23:31Publication: JVM compatible
- 25:03Publication: the maven-publish plugin
- 26:00Publication: Gotchas
- 28:45Kotlin MPP Code Generation
- 30:08JSON reader / writer MPP
- 31:14Apollo KN Runtime
- 39:56New Apollo Runtime - WebSocket
related talks
41mApollo-Android: a Journey to Kotlin Multiplatform
29mKMP for Mobile Developers
23mWhat’s new in Apollo Kotlin 3
46mGoing Multiplatform with Your Android App
21mIt's Time for Kotlin Multiplatform Mobile
33mGetting started with KMP
52mIntroducing Kotlin Multiplatform in an existing project
26mKotlin Multiplatform in an MVVM World
