Successfully publishing a tested, upgradeable and documented Open Source Library
summary
Android SDK matured over 2.5 years with ~2,400 commits, 20+ contributors, ~30 releases and 10 Maven artifacts used on ~100,000 devices; goal is zero crashes enforced by Detect static analysis with custom rules forbidding throws and checking API exception use (claimed ~99.9% coverage), strict code reviews and high test coverage with flaky-test monitoring, performance tracked (WorkManager offload) and released to Maven Central with opt-in Kotlin annotations and migration guides.
AI-written summary · about
chapters (9)
- 0:00Introduction to the talk
- 1:34Building a reliable open source SDK
- 8:16Ensuring privacy and sandboxing
- 11:46Optimizing library performance
- 14:14Making the SDK developer-friendly
- 18:46Future-proofing the API
- 24:24Open sourcing the library
- 28:38Licensing and Android specifics
- 32:53Conclusion and lessons learned
related talks
37mAndroid Librarian's Guide: Building Robust Libraries a…
47mThe definitive guide to Android library development
39mThe definitive guide to Android library development
44mBuilding and Publishing Android Libraries the Missing Guide
53mHow not to fuckup with building SDK and make clients happy
33mAndroid Open-source repositories 101: Everything you always wanted …
32mMicro Open Source: From Passion to Pet Project Publication
22mBest Practices When Building Mobile SDKs
