SDKs often include features that end up unused during development, temporarily increasing app size. However, developers can remove unused code before publishing to app stores, though methods vary by platform.
For example, on Android, ProGuard rules dramatically reduce APK size. ProGuard obfuscates, shrinks, and optimizes code by removing unused classes and methods, renaming variables, and delivering other optimizations that create leaner applications. This process doesn't just minimize app size – it also boosts security by making code harder to reverse-engineer.