Keeping Up with Android App Size Growth
Read Full ArticleSummary
The article outlines Square's approach to managing the growth of Android app sizes, emphasizing the importance of reducing APK sizes to comply with Google Play's limits. It details strategies such as using Emerge Tools for optimization, automating size tracking in the CI pipeline, and maintaining accountability through Slack notifications. The authors discuss the challenges posed by a monorepo environment and the need for effective communication among teams to address app size changes proactively. By implementing these practices, Square aims to continuously monitor app size growth and improve overall app performance.
Key Learnings
- 1Automating APK size tracking in CI can significantly enhance visibility and accountability among development teams.
- 2Using tools like Emerge Tools can help identify optimization opportunities, such as converting PNG files to WebP and detecting unused libraries.
- 3Establishing size thresholds for alerts can facilitate timely discussions about app size changes and encourage proactive measures.
- 4Integrating size change notifications into the development workflow can improve team awareness and responsiveness to app size issues.
- 5Maintaining a visual representation of app size trends over time aids in forecasting and managing future growth effectively.
Who Should Read This
Senior Mobile Developers focusing on optimizing Android app performance and managing CI processes.
Test Your Knowledge
What are the trade-offs of using automated tools versus manual tracking for monitoring APK sizes?
How can teams effectively balance the need for new features with the requirement to manage app size growth?
In what scenarios might Slack notifications for app size changes lead to notification fatigue, and how can this be mitigated?
What specific optimizations did Square find most effective in reducing APK sizes, and why were they prioritized?
How does the monorepo structure impact the management of app size across multiple teams and projects?
Topics
More articles about Android
Explore Android engineering →Android VPAT journey
The article outlines Slack's journey in improving accessibility for its Android application through a Voluntary Product Accessibility Template (VPAT). It details the identification of accessibility...
How AI Is Transforming the Adoption of Secure-by-Default Mobile Frameworks
The article explores how Meta is transforming mobile security through the development of secure-by-default frameworks that integrate seamlessly with existing APIs. These frameworks are designed to...
Don't Rewrite Your App, Unless You Have To - Snap Engineering
The article discusses the Snapchat Engineering team's experience in rewriting their Android app to enhance performance and reduce bugs. It outlines the challenges faced due to the app's complexity...
Shipping Two Apps in One on Android - Snap Engineering
The article outlines the engineering challenges and solutions encountered by Snap in shipping two versions of the Snapchat app within a single APK. It discusses the need for A/B testing, the...
A Developer Ecosystem for Snapchat - Snap Engineering
The article outlines the Snap Kit ecosystem, which provides developers with tools to integrate Snapchat's features into their applications. It describes various kits such as Creative Kit, Login Kit,...
More from Square Engineering
View Square engineering blogs →A Massively Multi-user Datastore, Synced with Mobile Clients
The article discusses the architectural design of a massively multi-user datastore developed at Square, which is tailored to manage extensive merchant catalogs synced with mobile clients. It...
Command Line Observability with Semantic Exit Codes
The article presents a novel approach to enhancing command line tool observability at Square by introducing semantic exit codes inspired by HTTP status codes. By categorizing exit codes into user...
Celebrating the release of Android Studio Electric Eel
The release of Android Studio Electric Eel introduces a significant performance enhancement through a new parallel project import feature, which reduces average sync times for large codebases by 60%....
Developer Spotlight: Reference Health
The article highlights the journey of Reference Health, a platform that integrates Square's payment solutions into healthcare systems, enabling providers to accept secure payments directly through...
Stampeding Elephants
The article 'Stampeding Elephants' presents a case study from Square's Mobile Developer Experience (MDX) Android team, detailing their journey to modernize the build logic of their Point of Sale...