Will you download and install the app which has unusual App size or which has hell large size which could completely own your mobile space? Obviously not, Rarely will do but only when the users got their specific needs to use that app. Making your users to use your app or wanting them to become an all time users are other scenario. But what if your app disappoints them on first impression itself? So it’s one of the prominent requirement to make your app have less size.
On achieving this prominent goal, Google IO 2018, Google has introduced the new publishing format for Android app which is named Android App Bundle (AAP). This AAP Android App Bundle will help us to reduce our apk size especially when the app is targeting on the different screen dimensions, CPU architecture and so on. Android App Bundle gives smaller size apk which will increase the number of downloads of your app. So, user’s are about to personalized app file when they hit the install option. Google has already started trailing it with it’s own app like YouTube and other google apps. Microsoft, Linkedin also tested it
Advantages of Android App Bundle:
(I) The application size is smaller than the traditional type of Android application.
(II) Single build artifact makes easy to manage from google play console.
(III) Dynamic Delivery: User can install the application as per the needs.
Google play console will manage these feature. User no need to do anything after publish.
Structure of Android App Bundle:
Bundle has the structure that contains the assets, project structure, etc. It’s similar like apk structure. Bundle is not directly installable because it is like configuration files which help the users to optimize their build. The structure of .aap files are same like apk files.
Aap also contains the same files like android apk files. For example, manifest files, dex files, assets, etc.
What Is Dynamic Delivery:
Google has also introduced another way to reduce the app size. With the concept of Dynamic Feature Apk’s concept you can split your app into seperate features and can deliver based on the user needs. For example, sometimes your app might be developed or loaded with too many features, on that case, this will give only the demanded features which are users attempt to use.
To put it straight, Dynamic Delivery gives the correct apk for the correct user. It will not feed you with excess data instead it gives the files or structure only which are necessary for the user. It will get differ from one device to another. With this Dynamic Delivery, the app size will be less compared to the traditional apps.
There are so many smart devices with the different sizes. The Traditional way of Android Apk will include all type of support resource into single Apk. So that this apk will support all type of android devices.
How Dynamic App Delivery Works:
“A fundamental component of Dynamic Delivery is the split APK mechanism available on Android 5.0 (API level 21) and higher. Split APKs are very similar to regular APKs—they include compiled DEX bytecode, resources, and an Android manifest.”
Here the Android App Bundle will split the apps with the above mechanism named “split Apk”. After splitting the app, the resource will be three Apks.
Dynamic feature Apk
This apk is first apk to install on user device, and it will have all the basic necessary files and essential resources.
Each of these APKs contains the native libraries and required resources for a user’s device screen density, CPU architecture, or App language.
Whenever the user downloads an APK for the configuration apk part then configuration apk will give the required resources based on the user’s device.
Dynamic Features Apks:
Each of these APKs contains code and resources that are not required when your app is installed first, but may be downloaded and installed later.
Your bundle contains the above apk’s like base apk, configurable apk, etc. When the user installs an app from playstore then the play store will give the above apps. If the User has the Android device with the configurations: arm64, xhpi, en_US language then final apk will have the combination of (base+arm64+xhpi+en).apk.
Check the below images for reference. Play store will combine the base apks and dynamic apks based on the user’s device configurations.
Mostly, Full dynamic delivery feature will work only on android lollipop and above. The lower versions also have that support, but that does not reduce the app size much. However, You have the primary choice of Google’s Android App bundles to ease our work.
New technologies are never new to us! We at Agira technologies always staying open to new technologies to bring new visionaries to your apps and Agira practiced in such a way to make a difference in every app we build. Similarly, you can explore more blogs on our largest blog repository .Stay tuned! and in case if you’re a newbie then don’t forget to subscribe us to get the latest updates from diverse technologies. Besides all, Post us your valuable thoughts in the comment section.
For any queries reach us via firstname.lastname@example.org