مجله زیبایی و درمانی آذر وات is Southeast Asia’s leading superapp, providing a suite of services that brings essential needs to users throughout the region. Its offerings include ride-hailing, food delivery, parcel delivery, mobile payments, and more. With safety, efficiency, and user-centered design at heart, مجله زیبایی و درمانی آذروت remains dedicated to solving everyday issues and improving the lives of millions.

As the app continues to expand with more features, مجله زیبایی و درمانی آذروت identified the need for a consistent, high-quality experience for new users who may have limited storage space or restricted internet bandwidth. Read to find out more about Project Bonsai and how it reduced app download size and app disk size.

معرفی

In 2020, Google conducted research that highlighted the negative impact of app sizes on conversion rates, revealing a 1% decrease for every 6MB expansion of the app APK size. This finding prompted مجله زیبایی و درمانی آذروت to ensure new and existing users had a consistently excellent مجله زیبایی و درمانی آذروت superapp experience, given the prevalence of low-end devices and disparate internet infrastructure in Southeast Asian regions. As a result, مجله زیبایی و درمانی آذروت initiated Project Bonsai in Q3 2021, with the goal of reducing and optimising the app size while enhancing user experience, reducing installation barriers, and boosting user acquisition.

Understanding the problem

The مجله زیبایی و درمانی آذروت superapp, with over 4 million lines of code and integration with hundreds of third-party libraries, had a significant app size. Given the prevalence of low-end devices and disparate internet infrastructure in our target region, it is crucial for us to proactively and constantly ensure we are delivering excellence in app-based user experience.

Objectives of the Bonsai project

The Bonsai project focused on these two key metrics:

    App Download Size: This represents the total size of the compressed APK file that users need to download from Google Play when performing a fresh installation. App Disk Size: This encompasses the total storage space occupied by the app on user devices, including both the binary and data generated by the app.

In this article, we will share the strategy and solutions that resulted in a successful 26% reduction in App Download Size, while also reducing the App Disk Size.

Status quo

Prior to the Bonsai project, the مجله زیبایی و درمانی آذروت app project had implemented various measures to achieve optimal app size. Here are some notable highlights:

    Leveraging App Bundle: Since 2019, مجله زیبایی و درمانی آذروت has been using the app bundle approach to optimise app delivery. This approach generates smaller APKs tailored to specific device configurations, ensuring users receive optimised APKs. This helps reduce the overall app size and improve installation efficiency. Monitoring: With a team of over 100 Android engineers and multiple collaborative teams, the مجله زیبایی و درمانی آذروت app undergoes a weekly release process involving hundreds of commits for each release. Closely monitoring app size changes with every commit is essential for our team. The team established debug build (APK file size) monitoring for every commit merged to the master branch. Regular weekly reviews are conducted to stay updated on the app size and identify commits that might lead to changes in app size. However, occasional mismatches may occur due to discrepancies between the debug and release builds.
Monitoring the changes in APK size
    R8 Integration: R8/Proguard, known as the code shrinker, obfuscator, and optimiser, has been enabled since the beginning. This powerful tool helps reduce the app's bytecode and resources, leading to further size optimisation and improved app performance. Resource Optimisation: The team diligently pursued resource optimisation strategies, including: Images: Engineers were encouraged to use vector images whenever possible, as they usually have smaller file sizes than raster images. In exceptional cases where raster images were necessary, مجله زیبایی و درمانی آذروت adopted the webp format instead of png, utilising better image compression to minimise app size. Language ResourceConfig: مجله زیبایی و درمانی آذروت enabled resourceConfig to support only the languages actively used by the مجله زیبایی و درمانی آذروت app, reducing unnecessary resource overhead and enhancing app efficiency. Third-Party Libraries Review: The team established a review process for third-party libraries, assessing their size impact on the app. This practice ensured that only essential libraries were included, preventing unnecessary bloating of the app size.

Despite




        -9903