Best Practices When Building Mobile SDKs
summary
Covers concrete practices: warns against dynamic versions ("+" in Gradle) because builds become non‑deterministic; shows how to inspect the merged manifest and use a marker selector to strip unwanted permissions; explains AAR contents (manifest, resources, assets), tradeoffs of client‑side validation vs server validation (2FA pin length example), library size concerns (a 500KB phone‑formatting lib), and the publish flow with GPG signing plus Nexus Sonatype staging, promote and release. Good if you need hands‑on packaging and release steps.
AI-written summary · about
chapters (15)
- 0:00Intro
- 3:28Dependencies
- 6:54Creator
- 12:19Publish
- 12:42Maven
- 12:54Requirements
- 13:35Gradle Properties
- 14:00Gradle Helper Methods
- 14:29Creating Your Own Task
- 15:30Promoting and Release
- 16:20Search and Mirror
- 16:50Versioning
- 17:46Fun Facts
- 18:59Changelog
- 20:01Changelog by Type
related talks
53mHow not to fuckup with building SDK and make clients happy
37mAndroid Librarian's Guide: Building Robust Libraries a…
47mThe definitive guide to Android library development
32mHow to successfully shift from app development to SDK development
43mLibrary Developer Confidential
39mThe definitive guide to Android library development
32mBest Practices in SDK Development
33mGuide for lazy developer
