Building Mobile SDKs for iOS and Android
summary
Shows how to turn Go service definitions into real iOS/Android SDKs by compiling proto-defined APIs into native libraries with one command, producing an Android AAR and (also possible) an iOS framework. Uses gRPC + protobuf for services, runs a streaming Meow endpoint that the SDK exposes via a readStream callback implemented in a background goroutine, and relies on GoMobile bind to generate Java/Obj‑C wrappers. Generated code is machine-oriented so the talk demonstrates a simple client factory pattern, a working demo server in Go, and one demo crash.
AI-written summary · about
chapters (7)
- 0:00Start
- 0:29Background
- 2:57Horrors of Generating Cross-Platform Code
- 6:45Why We Should Always Write Dry Code
- 15:44Lesson Learned
- 16:55Native Android Library
- 18:26Callback
related talks
22mBest Practices When Building Mobile SDKs
33mHow to build an SDK in Go
45mSDK Design and Publishing For Kotlin Multiplatform Mobile
53mAutomate your whole iOS Projects & share resources with Android
53mHow not to fuckup with building SDK and make clients happy
25mCreate delightful SDKs from OpenAPI
42mBuilding Scalable Mobile Projects: Fast Builds, High Reusability and Clear Ownership
35mShow Me the Schema! RPCs and Learning to Love Code Gen
