Swiggy Manjunath Chandrashekar Nov 22, 2022

Swiggy App on Diet

Article Summary

Swiggy slashed their Android app size by 22.6% in just one day. Here's how they did it without the usual complexity.

The Swiggy mobile team shares their experience adopting Android App Bundle, Google's new upload format that automatically generates optimized APKs for different device configurations. This eliminated the headaches of managing multiple APK splits manually.

Key Takeaways

Critical Insight

Android App Bundle delivered a 22.6% size reduction while removing the complexity of version codes, testing overhead, and multi-APK management.

The team rates this solution 10/10 for simplicity, but there's a critical prerequisite you need before switching.

About This Article

Problem

Swiggy was managing multiple APKs split by density, architecture, and fallbacks. This meant handling different version codes in Gradle and checking across Fabric Crashlytics, Firebase, and backend systems. It got messy fast.

Solution

Manjunath Chandrashekar's team switched to Android App Bundle format and used Google Play's Dynamic Delivery. The system automatically generates and serves the right APK for each device without manual APK management or version code headaches.

Impact

Abhilash Mishra completed the work in a single day using Android Studio 3.2 Canary. Users got smaller, more optimized downloads. The team also eliminated the testing and versioning burden that came with the old multi-APK setup.